Commit Graph

7433 Commits

Author SHA1 Message Date
scheglov@google.com 1d5cdc7941 Triage co19 tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27396 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 18:32:44 +00:00
hausner@google.com 43d319c105 Update unresolved name handling with library prefixes
Fixes issue 12913

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27393 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 16:21:25 +00:00
lrn@google.com 18362b2cf4 Revert "Convert HashSet, LinkedHashSet to factory methods and custom implementations."
Triggers an error in html tests on dartium.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27392 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 16:19:45 +00:00
ajohnsen@google.com b5e8a83a28 Fix comment for Uri encodeComponent.
BUG=https://code.google.com/p/dart/issues/detail?id=13127
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27385 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 15:30:19 +00:00
floitsch@google.com 68a9727c52 Rewrite Futures.
R=lrn@google.com

Committed: https://code.google.com/p/dart/source/detail?r=27375
Reverted: https://code.google.com/p/dart/source/detail?r=27376

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27383 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 14:00:20 +00:00
ngeoffray@google.com 03b948e409 Re-apply: "Fix http://code.google.com/p/dart/issues/detail?id=13007 by introducing a new Marker value in the SsaValueRangeAnalyzer."
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27382 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 13:33:49 +00:00
ajohnsen@google.com 071c5a1ee8 Accept IPv6 addresses in Uri.http and Uri.https, and correctly nest IPv6 addresses in '[' and ']'.
BUG= http://dartbug.com/13130
BUG= http://dartbug.com/13131
BUG= http://dartbug.com/13132
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27381 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 13:22:31 +00:00
johnniwinther@google.com effefe0e10 Create type masks lazily.
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27379 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:48:39 +00:00
lrn@google.com c5bb6f7b15 Convert HashSet, LinkedHashSet to factory methods and custom implementations.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27378 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:35:57 +00:00
floitsch@google.com d035cbd825 Revert "Rewrite Futures."
This reverts commit r27375.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27376 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:16:41 +00:00
floitsch@google.com 42e3d1db85 Rewrite Futures.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27375 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 12:02:37 +00:00
johnmccutchan@google.com bc987abea7 Revert type hierarchy changes
Review URL: https://codereview.chromium.org//23533046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27374 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 11:05:10 +00:00
ricow@google.com 1d61244f5c Also mark worker_api_test as Skip
This is flaking now

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27373 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 10:59:08 +00:00
kustermann@google.com aa3bbdfb09 Fixed status file entry in co19-runtime.status
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27372 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 10:38:04 +00:00
johnmccutchan@google.com 4913d3803b Actually disable typed_data_hierarchy_test for dart2js chrome and safari
Review URL: https://codereview.chromium.org//24081003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27371 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:36:50 +00:00
johnmccutchan@google.com a3409e951b Disable typed_data_hierarchy_test for dart2js chrome and safari
Review URL: https://codereview.chromium.org//23754008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27370 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:21:56 +00:00
ricow@google.com 0032257d32 Mark standalone/io/file_system_watcher_test as flaky timing out
Filed issue 13228

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27369 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 09:02:47 +00:00
ricow@google.com 04eaac5e0f Mark notifications_test/supported as flaky on safari
This fails on 10.8, but pass on 10.7.

Filed issue 13210

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27368 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 08:25:08 +00:00
ricow@google.com 6671a88835 Mark html/work_test and html/worker_api_test as skip
These tests are leaving stuff that makes the other test fail.

I filed issue 13221 to track this.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27367 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 08:19:01 +00:00
johnmccutchan@google.com a2c4cf0896 Uint8ClampedList no longer inherits from Uint8List
Review URL: https://codereview.chromium.org//23464052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27366 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 08:06:22 +00:00
aprelev@gmail.com 0bd09c308a Fix dart2js decimal number tokenization. Remove support for 'd'-suffixed double format.
BUG=dartbug.com/13070
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27364 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 01:58:07 +00:00
regis@google.com 6c92ec5439 Simplify VM internal representation of a mixin application clause (MixinAppType
object) by removing some redundant field and type arguments.
Tolerate mixins with wrong number of type arguments and update tests.
Note: this is a first cleanup step in preparation of more mixin bug fixes.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27363 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 00:41:07 +00:00
iposva@google.com 09a1a3824b - Add missing AddProperty function, which was lost during reformatting.
- Reenable vmservice tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27348 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 18:11:29 +00:00
iposva@google.com 3d5e47acfc - Disable vmservice/ tests temporarily.
Review URL: https://codereview.chromium.org//23983022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27347 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 17:57:28 +00:00
kustermann@google.com 5bb79cdda5 Followup CL after co19-roll to r576
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27340 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 15:55:07 +00:00
kustermann@google.com 34a42d9c35 Followup CL after co19-roll to r576
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27336 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 13:15:00 +00:00
kustermann@google.com cedf47a1d4 co19-roll to r576
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27331 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:48:54 +00:00
ajohnsen@google.com c04ce303ce Fix file_test after changing exception throw from readAsStringSync in File.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27330 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:37:35 +00:00
ajohnsen@google.com b57176ef54 Throw FileExceptions when in File when reading as String and decoding fails.
BUG=https://code.google.com/p/dart/issues/detail?id=13199
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27329 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:14:31 +00:00
ricow@google.com 89571068ff Update IE10 status
A bunch of indexdb tests no longer fails. Expand previous suppression for ie9 to also cover ie10

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27328 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 11:01:50 +00:00
johnmccutchan@google.com f46999818f Revert 27326
Review URL: https://codereview.chromium.org//24087003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27327 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 09:57:53 +00:00
johnmccutchan@google.com 8a854aa818 Uint8ClampedList no longer inherits from Uint8List
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27326 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 09:44:31 +00:00
karlklose@google.com 42378cd781 Reapply r27285: "Support dynamic as type literal."
Reviewed as: https://codereview.chromium.org//23978010

BUG=dartbug.com/12398
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27325 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 09:12:55 +00:00
karlklose@google.com cbd5db9e60 Emit error on default values in typedefs.
BUG=dartbug.com/12801,dartbug.com/12802
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27324 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 08:42:24 +00:00
ricow@google.com 7548e85fcd Update status files for a few html tests.
Update suppression to not include command line running of html/custom/document_register_basic_test

Update IE9 to suppress failure on html/custom/document_register_type_extensions_test/construction, updated issue 13193.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27323 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 07:45:46 +00:00
blois@google.com fbc6cd91aa Updating Dartium status and IE9 status
Dartium tests started passing because changes for polyfill triggered expected behavior for Dartium, even though the bug is still active.

Updated tests for some IE9 expectations, but still failing and needs further investigation.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27321 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 23:34:38 +00:00
hausner@google.com cc9a7bd37f Annotate co19-co19 test failures with bug number.
Review URL: https://codereview.chromium.org//24082003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27319 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 23:09:45 +00:00
hausner@google.com 48f2cb0580 Fix co19 status.
Quick fix to turn the buildbot green. Will investigate whether this is
indeed a c019 test bug.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27318 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:48:07 +00:00
hausner@google.com 961aad0080 Fix co19 status for dart2js
Review URL: https://codereview.chromium.org//24019003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27316 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:37:40 +00:00
sra@google.com 39bad23b40 Native abstract classes may be instantiated as a proxy for undeclared native subclasses.
Native classes can have subclasses that are not declared to the program, for example, some browsers have subclasses of HTMLElement that are not present on other browsers.  Instances of these subclasses are treated as instances of the known class (HTMLElement).

What this means is that abstract native classes can appear to have instances, so abstract native classes can appear to be instantiated.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27314 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:21:41 +00:00
blois@google.com b904bf81ba Revert "Revert "Tag extensions""
Original CL is the first patch, changes follow. Includes fixes for Chrome test failures and Firefox type check issues.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27313 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 22:03:43 +00:00
hausner@google.com fd57843900 Update handling of ambiguous name references
Update VM to latest spec. Referencing a name that is imported
from more than one library is no longer a compile-time error.
If one of the sources of an ambiguous reference is a dart library,
the dart library declaration is automatically hidden.

Also fixes a bug where looking up a getter name in a library
found the getter even though the name is filtered out in the
'hide' combinator.

Long-term we should fix the need for repeatedly convert between
the mangled getter and setter names and the untangled name.

Fixes 12915, 12913, 12724.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27312 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 21:52:40 +00:00
karlklose@google.com 99b8252f45 Revert "Support dynamic as type literal."
This reverts commit 27285.

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27294 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 15:03:00 +00:00
ngeoffray@google.com 7544fcae38 Fix bug in inferrer: a super constructor call goes through the visitSuperSend in the resolved visitor.
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27289 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 13:27:41 +00:00
lrn@google.com fe5ec3ae22 Update co19 test expectations to disable tests using String.concat.
Found an actual use of concat in a package.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27287 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 11:51:20 +00:00
karlklose@google.com 7fd9c10112 Support dynamic as type literal.
BUG=dartbug.com/12398
R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27285 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 11:02:11 +00:00
lrn@google.com 0f1e912d9d Reapply "Make LinkedHashMap also have a factory constructor and be customizable""
The change was reverted due to failing Dartium tests that were not easily handelable on a Friday afternoon.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27284 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 10:49:32 +00:00
ajohnsen@google.com 8fdf9b8ee6 Use correct output encoding in Process.runSync.
BUG=https://code.google.com/p/dart/issues/detail?id=13149
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27283 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 10:33:53 +00:00
ngeoffray@google.com 72e13620a7 Turn a Dart String + String into a JavaScript String + String.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27281 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 09:37:08 +00:00
johnmccutchan@google.com 86ffb1f64d Add alignment checks to typed_data views
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27278 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-08 15:18:04 +00:00