Commit Graph

729 Commits

Author SHA1 Message Date
sra@google.com d702be0b8f Fix Issue 2362
The wrapping constructor needs to call the correct underlying constructor.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9979034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6200 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 22:24:57 +00:00
antonm@google.com 17d0deaa25 Suppress AudionContextTest on Windows.
TBR=podivilov@chromium.org

Review URL: https://chromiumcodereview.appspot.com//9977017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6194 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 20:32:08 +00:00
nweiz@google.com 697190e43e Stop separating out frog_html_tests.
Since Dartium now supports DOMParser, there's no reason to have these tests
separate from the other html_tests.

Review URL: https://chromiumcodereview.appspot.com//9968110

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6186 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 18:28:17 +00:00
antonm@google.com e407663c0d Remove now fixed suppression.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6181 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 17:58:26 +00:00
antonm@google.com 5bdeb1f85c Remove IsolateLightTest and the corresponding suppression.
R=sigmund@google.com,vsm@google.com

Review URL: https://chromiumcodereview.appspot.com//9977009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6178 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 17:17:41 +00:00
antonm@google.com 9bf77b5119 Fix suppressions.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6175 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 16:44:02 +00:00
antonm@google.com 635915df0c Remove now obsolete suppression.
BUG=2362
TEST=TypeArrays3Test.dart

Review URL: https://chromiumcodereview.appspot.com//9965111

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6172 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 16:17:11 +00:00
sra@google.com 533ec54ee9 Mark html/TypedArrays4Test as Fail on dartium
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9968104

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6155 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 00:04:10 +00:00
sra@google.com a0187f8928 Fix for Issue 2399 - broken []= on dartium dart:html typed arrays.
Also fix buggy lastIndexOf and add test.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9956126

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6153 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 23:38:35 +00:00
antonm@google.com 38e2fdbc2b Remove suppression which is incorrect after recent changes.
Review URL: https://chromiumcodereview.appspot.com//9969047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6121 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 15:08:19 +00:00
nweiz@google.com 6cabc53f79 Make Storage implement Map.
Review URL: https://chromiumcodereview.appspot.com//9956076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 22:51:57 +00:00
antonm@google.com 3cc89e4a5e Support 3-arg versions of .fromBuffer.
BUG=2362
TEST=TypedArrays2Test

Review URL: https://chromiumcodereview.appspot.com//9969062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6104 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 19:18:29 +00:00
antonm@google.com 7fd5eb28ef Suppress html/html_tests for Dartium.
TBR=jacobr@google.com

Review URL: https://chromiumcodereview.appspot.com//9958061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6085 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 09:37:30 +00:00
sra@google.com bdb9cffa89 Remove unused typed array factory constructors.
Remove unused typed array factory constructors in the class as the
arrays are actually constructed in the factory constructor provider.

Use native renaming to get rid of hand generated code for typed array
'setElements' method.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9959048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6072 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 04:15:15 +00:00
sra@google.com 1c23709150 Fix factory dart:html typed array providers for dartium.
Revert "Revert "Typed array constructors with optional buffer offset and length.""

This reverts commit 70b6f43f35d3c022187cdb0ce4d516811a2a5dd1.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9950037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6071 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 01:01:08 +00:00
sra@google.com 66fad61228 Revert "Typed array constructors with optional buffer offset and length."
This reverts commit aaa5353b16edf040e21fff712757cc14001b2562.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9969036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6070 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 00:00:52 +00:00
sra@google.com cf763cf868 Typed array constructors with optional buffer offset and length.
A fix for Issue 2331

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9969001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6069 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 23:36:52 +00:00
jacobr@google.com dfbb12458f Use the new syntax for native methods that are just renames of other native methods.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9963004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6053 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 17:50:54 +00:00
jacobr@google.com f68c5edb14 Fix issue http://code.google.com/p/dart/issues/detail?id=1877 without degrading performance. Improved performance by removing harmful caching logic.
BUG=1877
TEST=

Review URL: https://chromiumcodereview.appspot.com//9930008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6015 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 01:00:08 +00:00
antonm@google.com 7c6722cb68 Fix test expectations.
Review URL: https://chromiumcodereview.appspot.com//9923014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5986 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 17:13:41 +00:00
dgrove@google.com ca61f09608 Move unittest into lib, and put it into the SDK.
Review URL: http://codereview.chromium.org//9802015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5956 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:26:14 +00:00
dgrove@google.com 8b9f7fe6d0 Move update.py to samples/swarm, remove a bunch of deprecated files for
measuring coverage (they worked with dartc's codegen).
Review URL: https://chromiumcodereview.appspot.com//9837113

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5946 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 18:42:27 +00:00
kasperl@google.com 5c664f9e2a Move the DOMContentLoaded logic into the generated JavaScript
code thus simplifying htmlconverter.py.
Review URL: https://chromiumcodereview.appspot.com//9877008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5942 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:55:00 +00:00
vsm@google.com 59d574c599 Move copy_dart.py from client to tools
Review URL: https://chromiumcodereview.appspot.com//9789004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5941 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:51:20 +00:00
efortuna@google.com 71ad23e52c Apply Siggi's comments (compile also for drt step).
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9791042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5914 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 22:05:21 +00:00
efortuna@google.com b0e3365f3e Fix client.status file again.
Review URL: https://chromiumcodereview.appspot.com//9791039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5912 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 21:31:59 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
dgrove@google.com 7d558789d6 Rename client/{dom,html} to lib/{dom,html} .
Review URL: http://codereview.chromium.org//9845043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +00:00
antonm@google.com 5411adb23a Proper handling of sequence<T> in IDLs.
Review URL: https://chromiumcodereview.appspot.com//9843003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5833 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 15:11:05 +00:00
nweiz@google.com daf09c85c2 Regenerate HTML bindings.
Review URL: https://chromiumcodereview.appspot.com//9838081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5795 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 22:04:25 +00:00
antonm@google.com 97b02a334a Proper support for throwing not implemented.
Review URL: https://chromiumcodereview.appspot.com//9837023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5761 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 22:13:56 +00:00
ahe@google.com 87a64a1be8 Add "mock" compilation feature to dart2js and use it to improve test coverage.
Review URL: https://chromiumcodereview.appspot.com//9813012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5743 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 10:34:03 +00:00
antonm@google.com e7cda279a7 Chrome roll 127980->128075.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5739 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 05:11:28 +00:00
ager@google.com 2aba281fa6 Remove backwards compatibility 'win32' name from test status files.
Using win32 instead of windows was temporary to be compatible with
the old python script. That is now gone.

R=antonm@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9817019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5736 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 22:06:52 +00:00
antonm@google.com 9e3227680c Proper include forms.
Review URL: https://chromiumcodereview.appspot.com//9814012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5723 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 15:44:54 +00:00
antonm@google.com 3374197343 Switch to win32.
Review URL: https://chromiumcodereview.appspot.com//9806001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5704 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 01:10:55 +00:00
dgrove@google.com 40ca156405 Remove dartest, which is unused at this point.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5688 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-20 16:07:37 +00:00
antonm@google.com 0df9c99254 Support for Chrome roll.
Review URL: https://chromiumcodereview.appspot.com//9752008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5683 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-20 12:19:19 +00:00
ngeoffray@google.com 533d2cdcfe Add support for capturing and changing the current isolate in the closure wrapper.
Review URL: https://chromiumcodereview.appspot.com//9702074

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5638 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 11:06:42 +00:00
ahe@google.com dd96f32250 Rename leg -> dart2js.
Review URL: https://chromiumcodereview.appspot.com//9717033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
ngeoffray@google.com 3368aef4ad Check for null when invoking a native method.
Review URL: https://chromiumcodereview.appspot.com//9722031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5626 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 18:54:20 +00:00
sra@google.com c202444f7f Revert "Refresh dom & html to WebKit r281"
This reverts commit c5b06a0f3c4d1e0a12fb7551581958ad7692c3b6.

I have no idea how this CL could have broken FF-win7 and IE, and it seems implausible, but since I don't have time to investigate right now I'm rolling back.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9718016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5611 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 06:46:58 +00:00
sra@google.com 1361468458 Refresh dom & html to WebKit r281
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9719013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5609 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 03:57:53 +00:00
kasperl@google.com fa42efe602 Re-land r5529.
Update client-leg.status file.

R=ngeoffray@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9703105

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5562 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 09:16:55 +00:00
antonm@google.com 3f428de4e9 Fix name of the suppressed test.
Review URL: https://chromiumcodereview.appspot.com//9703103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5558 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 05:43:59 +00:00
sra@google.com 01939b8e6d Add conditional feature to templates.
Also, fix some scripts/all_tests.py errors.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9706084

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5553 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 04:00:32 +00:00
sra@google.com 7d1277342f Generate factory providers for systemnative
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9705040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5541 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 20:56:23 +00:00
antonm@google.com 715635796f Rename 'raises_dart_exceptions' to 'raises_exceptions'.
Review URL: https://chromiumcodereview.appspot.com//9703064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5533 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 18:30:46 +00:00
antonm@google.com c4d7ab9397 Suppress DOMIsolate test.
Review URL: https://chromiumcodereview.appspot.com//9706055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5519 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 13:19:42 +00:00
sra@google.com 989c60c285 htmldartium should also use DartDomNameOfAttribute
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9705050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5507 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 03:36:54 +00:00