Commit Graph

6631 Commits

Author SHA1 Message Date
antonm@google.com 803113f8ad Add quotes to make it easier to copy paste around.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//16194005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23411 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:34:47 +00:00
kustermann@google.com 3707cd889b Print output of all commands if a testcase failed
R=ricow@google.com

Review URL: https://codereview.chromium.org//15740034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23408 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:15:26 +00:00
ricow@google.com 1fc1f8f8d9 Change safari to be using browser controller on mac, not on linux
Review URL: https://codereview.chromium.org//15994004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23403 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:26:49 +00:00
kustermann@google.com eda01014b4 Support for running tests in an iframe
R=ricow@google.com

Review URL: https://codereview.chromium.org//16050006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23400 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:16:22 +00:00
ricow@google.com 54515bb3a3 Use browser controller for safari bots on main waterfall
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15932013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23399 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:15:25 +00:00
blois@google.com 0c7e06c5cf Fixing type of ApplicationCache.onProgress.
BUG=10317
R=efortuna@google.com

Review URL: https://codereview.chromium.org//15820013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23372 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 00:56:57 +00:00
efortuna@google.com 533a66bdac Reapply removeWhere and retainWhere for elements in dart:html
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//15810006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23371 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 23:40:52 +00:00
efortuna@google.com 54bafa2ebf "Reverting 23366"
BUG=

Review URL: https://codereview.chromium.org//15950008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23369 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 22:25:05 +00:00
hausner@google.com 22d5ffd865 Add coverage tool
R=iposva@google.com

Review URL: https://codereview.chromium.org//16203003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23368 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 21:57:31 +00:00
efortuna@google.com 942392b7e6 Correctly implemented removeWhere and retainWhere for elements in dart:html.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//16171012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23366 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 21:22:22 +00:00
kustermann@google.com 29d11f90ad Use run_vm_tests.host to list VM tests if possible
R=ricow@google.com

Review URL: https://codereview.chromium.org//15963011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23348 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:36:34 +00:00
ricow@google.com 88679922c3 Change firefox initialization name
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15963012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23347 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:33:26 +00:00
ricow@google.com 0b2f1c89f4 Fix comment style to unbreak build
Review URL: https://codereview.chromium.org//16032014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23345 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:14:03 +00:00
ricow@google.com 874e82fb90 Add factory constructor to browser controller.
Additionally, fix explicit number of browsers hack.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//15904008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23344 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:10:50 +00:00
ricow@google.com 05b6724e77 Add browser launching functionality.
This is to be used for providing easy reproduction steps (i.e. the steps we print out when tests fail)

R=kustermann@google.com

Review URL: https://codereview.chromium.org//15963007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23343 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:07:33 +00:00
ricow@google.com b539b697b8 Remove hackish way of getting the url for browser testing
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15935008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23341 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 10:38:48 +00:00
kustermann@google.com 0897a8608a Remove hack for android resources.
We got a v8 mirror in golo now, so we can remove this hack.

R=ricow@google.com

Review URL: https://codereview.chromium.org//16168005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23339 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 10:19:15 +00:00
kustermann@google.com 8464ae2ed2 Remove hack for codesourcery crosscompiler since we've precise VMs now
R=ricow@google.com

Review URL: https://codereview.chromium.org//16168004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23334 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 09:36:18 +00:00
ricow@google.com 6358c556aa Remove debugprints accedentially added in revision 23325
R=kustermann@google.com

Review URL: https://codereview.chromium.org//16004004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23333 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 09:35:33 +00:00
antonm@google.com 4638137480 Switch from DRT to content shell.
R=kustermann@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//15755017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23328 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:34:52 +00:00
ricow@google.com 13a3ba87c4 Use the Debug log for messages from the browser controller
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15825004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23325 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:03:07 +00:00
efortuna@google.com 1762c5fb0d Change top level queryAll to return ElementList.
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//15935007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23316 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 00:52:02 +00:00
efortuna@google.com 34b6083654 Fix up other RTC family mozilla names.
BUG=

Review URL: https://codereview.chromium.org//15879008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23313 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 00:26:47 +00:00
efortuna@google.com c89a0c73c0 Add mozRTCPeerConnection to JS names.
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org//15901006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23312 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 23:48:14 +00:00
blois@google.com 0942acf5d2 Fixing IndexedDB's deleteDatabase to have the correct future result.
BUG=10648
R=efortuna@google.com

Review URL: https://codereview.chromium.org//16022012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23305 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 19:38:44 +00:00
blois@google.com 4b6f22863a Clarifying EventStreamProvider.forTarget.
BUG=https://code.google.com/p/dart/issues/detail?id=10366
R=efortuna@google.com

Review URL: https://codereview.chromium.org//15762003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23304 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 19:35:49 +00:00
blois@google.com a1f522165f Modernizing HttpRequest documentation.
Also fixing docs so they get applied to Dartium.

BUG=https://code.google.com/p/dart/issues/detail?id=10547
R=efortuna@google.com

Review URL: https://codereview.chromium.org//15819003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23303 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 19:33:06 +00:00
efortuna@google.com 87182ddeac Make RTC work on Firefox (mostly).
BUG=
R=blois@google.com, sra@google.com

Review URL: https://codereview.chromium.org//16023011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23298 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:55:05 +00:00
antonm@google.com fd3c7da1ee Verify that correct number of arguments was passed.
R=amouravski@google.com

Review URL: https://codereview.chromium.org//15850004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23296 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:42:13 +00:00
antonm@google.com f1beb16377 Remove unused files.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//16123006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23295 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:33:55 +00:00
floitsch@google.com 5d058bb0eb Adding isNotEmpty property to collection and string.
BUG= http://dartbug.com/3074
R=floitsch@google.com

Review URL: https://codereview.chromium.org//15263004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23294 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:30:37 +00:00
ricow@google.com 21a51ebac2 Fix accidentially added dot in safari web driver
R=kustermann@google.com

Review URL: https://codereview.chromium.org//16026007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23290 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:54:45 +00:00
kustermann@google.com 33a85259ad Don't throw if a step failed
R=ricow@google.com

Review URL: https://codereview.chromium.org//15917009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23289 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:49:18 +00:00
ricow@google.com 8d21a80c9d Allow safari to do pop ups on startup
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15782006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23287 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:37:48 +00:00
kustermann@google.com acc39e34b3 Bugfix in bots/cross-vm.py
R=ricow@google.com

Review URL: https://codereview.chromium.org//15782007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23278 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 14:36:37 +00:00
kustermann@google.com 8ab3c24e51 Changed buildbot annotated steps to run tests on ARM device
R=ricow@google.com

Review URL: https://codereview.chromium.org//16001005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23269 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:45:56 +00:00
ricow@google.com 4110f7fac8 Reenable checked mode running on drt on linux
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15767007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23268 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:41:16 +00:00
sgjesse@google.com 9d6a64e81b Merge the dart:uri library into dart:core and update the Uri class
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.

* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization

R=floitsch@google.com, lrn@google.com, nweiz@google.com, scheglov@google.com
BUG=

Review URL: https://codereview.chromium.org//16019002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
lrn@google.com 37b1cd3b3f Optimize internals of multiplex-streams.
Make the multiplex streams broadcast streams.
This allows you to listen twice on the same stream, instead of having to get
a new stream each time.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//16007003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23256 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 12:06:34 +00:00
ricow@google.com 18a9349173 Don't pass the nobatch flag to safari
R=kustermann@google.com

Review URL: https://codereview.chromium.org//15682006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23250 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 11:09:16 +00:00
kustermann@google.com cfa3c09596 Support for overriding the target toolchain when cross compiling
R=ricow@google.com

Review URL: https://codereview.chromium.org//16143002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23248 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 10:43:08 +00:00
kustermann@google.com c2304eff9c Disable VM unittests in test.py for arm/mips for the moment
R=ricow@google.com

Review URL: https://codereview.chromium.org//15956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23247 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 10:33:46 +00:00
ricow@google.com 1a6d61c434 Refactor compiler annotated steps based on renaming of system from win7/8 to windows
Review URL: https://codereview.chromium.org//16053003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23245 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 09:42:46 +00:00
ricow@google.com 3f67a9b19f Change annotated steps to use windows as system no matter if we are on win7 or win8
R=kustermann@google.com

Review URL: https://codereview.chromium.org//16138002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23244 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 09:32:00 +00:00
ricow@google.com 46f9be8751 Add safari browser controller.
Additionally, fix some bugs in the browser controller discovered while enabling safari.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//16094004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23240 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 08:41:09 +00:00
ricow@google.com 5fe53b907c Enable browser controller on ff and chrome on normal waterfall
Additionally, refactor how we determine when to use the browser controller by having two maps - on for stable drivers that we use on the normal waterfall and one for non-stable drivers that we use on fyi.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//15780009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23239 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 08:37:55 +00:00
lrn@google.com 781e84284f Reapply "Active stream subscriptions".
Makes subscriptions the active part of a stream, with the stream
itself being just an inert creator of subscriptions.

This changes the behavior of a "single subscription" stream to match
the documentation: After the subscription is canceled, you can't
resubscribe to the stream. Previously, you could do that, but it was
never documented or intended.
This also makes the stream of a StreamController not be paused while
before it's subscribed - it is always the subscription that is paused
or not, and while there is no subscription, the stream cannot be
paused. Previously the stream was set to paused until the first
subscription in order to prevent events from being lost. That is
handled independently of pauses now.

Adds StreamController.multiplex constructor. This name is tentative,
and likely to change. Its behavior may change as well. It currently
provides a new single-subscription stream each time its "stream"
getter is read, and you can subscribe to these.

Adds StreamIterator class that allows iterating over a stream's data
events using (async) "moveNext()" and "current", like a direct style
Iterator (sorry, it won't work in a for-in loop).

Review URL: https://codereview.chromium.org//16131003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23237 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 07:28:36 +00:00
ricow@google.com 72cb8b7577 Catch errors on directory listings.
I saw issues on the new linux chrome bot when there was a broken symlink in /tmp

R=kustermann@google.com

Review URL: https://codereview.chromium.org//16085002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23235 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 06:37:18 +00:00
ricow@google.com ac018901dd Don't special case chrome to drt on linux. Instead I will change the name of the bot to dart2js-drt-linux.
R=ahe@google.com, kustermann@google.com

Review URL: https://codereview.chromium.org//16087002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23234 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 06:30:47 +00:00
lrn@google.com cc0d9d57af Revert until Windows crash is debugged.
Reverts r23218, r23217, r23208, r23207, r23206, r23205, r23204.

r23218 | Path observer is listened more than once, so make it multiplex.
r23217 | Add StreamController.multiplex constructor.
r23208 | Fix bug in streamimpl
r23207 | Fix bug in stream iterator.
r23206 | Change expectations for http_parser_test.
r23205 | Fix bug in stream-impl.
r23204 | Make StreamSubscription be the active part of a string.

Review URL: https://codereview.chromium.org//15989006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23221 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-27 13:03:03 +00:00