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
sra@google.com 2ab3dd2b14 Rerun generator and copy html to release.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5506 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 03:20:16 +00:00
jacobr@google.com b437fdbdce Update dart:dom and dart:html bindings to reflect latest webkit changes.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5493 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 22:20:47 +00:00
antonm@google.com 44b75b0ae3 Support CallWith on attributes.
And some minor refactoring.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5476 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 17:49:21 +00:00
antonm@google.com 89e859e97d Chrome roll 126348->126558.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5456 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:31:00 +00:00
podivilov@google.com a48f3732b6 Parameter adapter name in setter should be 'value'.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5453 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:01:07 +00:00
nweiz@google.com 092b6205be Fix a type warning for SVGElement.tag.
Review URL: https://chromiumcodereview.appspot.com//9694027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5422 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 18:06:02 +00:00
ngeoffray@google.com 8a013fcadc Fix status files for legium.
Review URL: https://chromiumcodereview.appspot.com//9696039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5418 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 17:23:26 +00:00
antonm@google.com c2ceef5195 Roll Chrome/WebKit forward.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5406 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 14:48:38 +00:00
ahe@google.com 57aa304826 Don't skip tests.
Review URL: https://chromiumcodereview.appspot.com//9691035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5385 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 08:51:00 +00:00
sra@google.com e1e9cf153d Provide DartDomNameOfAttribute
DartDomNameOfAttribute returns the name of an IDLAttribute in the dart dom bindings.
attr.id is the native/JS name
dart:html might possibly rename the DartDomName, leaving the original attribute id available.

The change in the generated files reflects reverting https://src.chromium.org/viewvc/multivm?view=rev&revision=251
I will revert r251 after this change lands.

This is all so we can handle one attribute that has a name that is a keyword in Dart and C++ :

module html {
    interface [
        Conditional=VIDEO_TRACK,
        V8EnabledAtRuntime=webkitVideoTrack
    ] HTMLTrackElement : HTMLElement {
        ...
        attribute [Reflect] boolean default;

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5381 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 06:15:24 +00:00
sigmund@google.com 2b5952ac6c SendPort + ReceivePort changes:
- document what are valid messages in SendPort.send
- change SendPort.call to return a future of the reply
- remove ReceivePort.singleShot

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5368 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:52:36 +00:00
nweiz@google.com 161c44f409 Port the SVG code to the wrapperless DOM.
Review URL: https://chromiumcodereview.appspot.com//9677012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5366 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:01:23 +00:00
nweiz@google.com 9b9c66d739 Fix invalid syntax in _WebSocketFactoryProvider to fix the build.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5365 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 21:49:11 +00:00
nweiz@google.com 418e6a2756 Regenerate DOM bindings.
Review URL: https://chromiumcodereview.appspot.com//9689026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5363 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 21:19:45 +00:00
jacobr@google.com e3ca237a48 Add factory constructor for WebSocket Add generated dom & html directories to .gitignore
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5354 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 20:18:29 +00:00
antonm@google.com 7f4a0eb83e Prepare fremontcutbuilder for Chromium/WebKit roll.
Review URL: https://chromiumcodereview.appspot.com//9663062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5314 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 10:29:07 +00:00
ngeoffray@google.com 202305f8f6 Retriage client tests for legium.
Review URL: https://chromiumcodereview.appspot.com//9664047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5300 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 13:19:51 +00:00
podivilov@google.com a96f2f1f5f Fix idlparser.py: const should always go after ext attrs.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5297 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 10:18:50 +00:00
sra@google.com 4042648a7c Tweak database IDL format to print interface attributes on separate lines
moves 'interface' column 0 so you don't have to hscroll to see the name.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5294 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 01:24:35 +00:00
jacobr@google.com 6359b1de69 Remove generated directories with 100s of files.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5276 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 00:48:35 +00:00
nweiz@google.com 17d9b886f0 Port DocumentFragment to the new wrapperless DOM.
Review URL: https://chromiumcodereview.appspot.com//9610011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5265 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 22:49:08 +00:00
nweiz@google.com 978363358a Don't put private members in dart:html interfaces.
This makes implementing the interfaces much easier when the implementing class
doesn't have the members in question, and is a cleaner separation on the whole.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5256 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:46:10 +00:00
nweiz@google.com 8a98391ede Get rid of Element#classList in the wrapperless DOM.
Review URL: https://chromiumcodereview.appspot.com//9648017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5205 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:42:50 +00:00
jacobr@google.com 32923125c4 Remove files that have already been ported or do not need to be ported.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5204 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:26:19 +00:00
nweiz@google.com 5019c24da9 Fix build breakage caused by commit 5196.
Review URL: https://chromiumcodereview.appspot.com//9653009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5202 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 23:42:01 +00:00
nweiz@google.com bdd6ee3368 Refactor the event-generation code to locate it in systemhtml.py.
This also adds some code to enforce the generation of an events class for
DocumentFragment so that it can provide access to all the element events.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5196 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 23:00:01 +00:00
ngeoffray@google.com a02f9d8515 Canonicalize closures passed to native functions.
Review URL: https://chromiumcodereview.appspot.com//9641018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5172 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 15:28:02 +00:00
ngeoffray@google.com cd69b685ed Map typeName getter to the global typeNameOf. This is a unspoken rule from the native interface :)
Review URL: https://chromiumcodereview.appspot.com//9633015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5170 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 13:36:26 +00:00
ngeoffray@google.com e72ee6c29a Use the pure Dart implementation of JSON in leg.
Review URL: https://chromiumcodereview.appspot.com//9624023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5157 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 09:44:45 +00:00
jacobr@google.com 763fff9a33 Build both dart:html and dart:dom bindings by default
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5146 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 00:57:19 +00:00
nweiz@google.com a23aa15143 Regenerate wrapperless DOM for changes in commit 9315061.
Review URL: https://chromiumcodereview.appspot.com//9608025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5144 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 00:27:39 +00:00
sra@google.com e8e662b78c Fix for Issue 2036 - remove 'var' in type position on getter
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5137 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 23:05:48 +00:00
zundel@google.com 7f8a57919b Specify the types for Element.classes, Element.elements and Node.nodes
Previously these lines gave type errors in dartc, but now they pass
without warnings.

b/5392897

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5136 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 23:02:08 +00:00
nweiz@google.com 2b346a7fa8 Regenerate the wrapperless DOM again.
The previous regeneration was based on an outdated WebKit version.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5132 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 21:52:33 +00:00
nweiz@google.com 69e69d5c9c Regenerate the wrapperless DOM.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5122 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 21:11:10 +00:00
jacobr@google.com 97532c3cde Regenerate dart:dom and dart:html bindings
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5115 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 19:46:54 +00:00
antonm@google.com b1e900ed87 Allow any order for ExtAttrs and const in WebKit.
ExtAttrs followed by const variant has been recently added into WebKit.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5107 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 18:40:01 +00:00
ngeoffray@google.com 3a8eeb89db A local may be an unnamed closure. Make sure we emit a name for them.
Review URL: https://chromiumcodereview.appspot.com//9619009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5102 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:18:00 +00:00
mattsh@google.com d8af601ce4 removed unused 'prefix' line from status files
Review URL: https://chromiumcodereview.appspot.com//9621003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
antonm@google.com 216dae7261 Remove test suppressions for test which are passing now.
StyleSheetList.item is obvious.  I am more surprised with isolate test started to pass.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5096 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 14:50:23 +00:00
antonm@google.com 79aa42abff Roll forward.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5084 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 13:13:19 +00:00
ngeoffray@google.com 42013d6f18 Triage client failures on legium, and add the client tests to our presubmit script.
Review URL: https://chromiumcodereview.appspot.com//9620001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5080 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 12:42:58 +00:00
antonm@google.com c5b0c6a1b6 Add utility print method.
Review URL: https://chromiumcodereview.appspot.com//9618010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5074 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 10:25:33 +00:00
sra@google.com ae33ad5549 Unwrap parameters in factory constructors.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5067 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 05:59:19 +00:00
sra@google.com 8f12cba615 Implement automatically generated constructors for frog dart:html
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5066 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 04:57:35 +00:00
sra@google.com 016dd2dfe4 Refresh dom_frog to get in sync with WebKit.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5057 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 22:27:04 +00:00
nweiz@google.com 3ebe27325b Regenerate the new HTML stuff.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5005 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 02:25:48 +00:00
jacobr@google.com bdcf469c63 Fix dartium checked mode build break.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5001 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 01:08:27 +00:00
jacobr@google.com de1d525459 Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
Split unittest.dart into unittest_html and unittest_dom

Bug fixes to the new dart:html bindings to compile with dartc.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
ager@google.com b2b123d24b Update Timer API to take the callback as the last parameter.
This makes the code easier to read when the callback actually does
work:

  new Timer(1000, (t) {
    // do
    // lots
    // of
    // stuff
  });

Also, it is more consistent with the rest of the APIs.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 12:43:41 +00:00
antonm@google.com 3414a4a429 Support Dart optional arguments which are not dispatched, but instead use default values.
BUG=1886

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4871 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 11:22:12 +00:00
antonm@google.com 7ebac2d13c Properly escape paths.
Otherwise on Windows we emitted a\b and \ just escaped the following character.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4866 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 10:41:29 +00:00
antonm@google.com cebe958040 Use plain gcc.
That makes the scripts work under Cygwin.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4864 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 10:13:47 +00:00
jmesserly@google.com 84bedc94e7 mark html_tests as flaky
TBR=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4860 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 09:38:21 +00:00
vsm@google.com 2f0ff2fb17 Bring htmlconverter back up to date:
- Remove dartc path.
- Use dom or html for DOMContentLoaded depending on the compiled source.
- Fix up tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4851 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 02:03:01 +00:00
podivilov@google.com 5a3921f14e Get rid of GetIDLTypeInfoByName.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4802 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 16:23:19 +00:00
podivilov@google.com d46405ba11 Add missing includes (spotted while splitting cpp derived sources).
Corresponding WebKit change: https://chromiumcodereview.appspot.com/9570007.

R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4800 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 16:18:41 +00:00
jacobr@google.com 8bf885ce5c Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled for functionality that isn't yet ported over to the new dart:html implementation).
Files in
client/html/src that have been ported over have been removed while files that need to be ported have been left to simplify tracking the porting effort.
Created a client/dom/templates/html/impl directory that contains templates shared by the frog and dartium bindings.

There is still a bit too much duplicated code in the dartium and frog generators.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4778 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-01 03:25:36 +00:00
nweiz@google.com ad40646a19 Fix XML tests on Safari and IE.
This involves fixing $typeNameOf when dealing with XML documents, as well as
ensuring that nodes are removed from their owner documents before being added to
new documents.

Fixes issue 1884.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4769 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 21:45:30 +00:00
vsm@google.com 7e4587d10e Safely wrap window.top in frog dom.
This is a one off to let me make progress.  The general issue is filed at: http://code.google.com/p/dart/issues/detail?id=1913

Note: it looks like the generated files were a little out of date, so there are some extraneous changes here.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4767 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 21:03:28 +00:00
podivilov@google.com 3e2fde3d69 Add supplementals for several unforked WebKit idls.
R=sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4739 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 08:38:10 +00:00
sigmund@google.com 34392335a4 dom test: fix test after change in isolate library.
Review URL: https://chromiumcodereview.appspot.com//9527004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4731 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 01:43:51 +00:00
vsm@google.com 0862d9d62e Fix htmlconverter to pick up frog from top-level out
Review URL: https://chromiumcodereview.appspot.com//9517007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4727 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 22:27:28 +00:00
whesse@google.com b76cd2801d Fix static warnings in test_suite.dart from local variables shadowing parameters or functions.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4671 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 11:07:52 +00:00
nweiz@google.com 196f74e1c5 Disable frog_html_tests on Safari and IE due to a type-detection bug.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4660 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 03:17:28 +00:00
sra@google.com 10e93c5869 Add is-check to TypedArrays1Test
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4659 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 02:28:25 +00:00
nweiz@google.com 647d0e39c8 Add some sweet XML classes.
This should fix the errors with the previous commit.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4658 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 02:20:52 +00:00
nweiz@google.com 9149c6fbfe Revert "Add some sweet XML classes."
This is breaking the build.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4653 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 23:44:11 +00:00
vsm@google.com c3fa951f03 Dartium fix for dart:isolate
Review URL: https://chromiumcodereview.appspot.com//9476019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4651 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 23:43:18 +00:00
sigmund@google.com ee6a907611 isolates refactor: this change introduces 'dart:isolate' as a library. This is a
big global change, so let me explain in more detail. This refactoring CL does
the following:
- moves all the dart code for isolates in a common library (lib/isolate)

- changes frog to understand 'dart:isolate' imoprts by loading the code from the
  location above.

- changes the vm to undernstand 'dart:isolate' imports by creating a separate
  library that is part of the bootstrap. This follows the same code-structure
  that Todd suggested in his CL introducing the mirror library

- changes dartc to use the shared isolate library as the source of truth for
  type checking. I left around some of the internal js code in dartc so that the
  backend continues to work for apps that don't use isolates.

- changes all tests that use isolates to import the library explicitly (this is a large bulk of the files in this CL)

- changes test status for tests we can't fix in this repo (e.g. co19)

- splits the isolate library code to make it possible to preserve some tests
  without exposing internal types (e.g. tests about
  serialization/deserialization)

- changes the create_sdk script to copy the isolate library to the sdk

- includes the isolate library in dartdoc

I'll wait for at least one lgtm from each area (dartc, vm, frog, sdk)

There is one important pending thing this CL doesn't do:
- update test_runner.dart: This should be updated next time we upload the new
  binaries to tool/testing/bin
- dartium specific changes: Vijay, is there anything I need to do for dartium?

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4647 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:50:44 +00:00
nweiz@google.com 193e7b5712 Add some sweet XML classes.
Review URL: https://chromiumcodereview.appspot.com//9430066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4645 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:35:58 +00:00
antonm@google.com b4c904a2e1 Support named ctors.
Review URL: https://chromiumcodereview.appspot.com//9480001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4632 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 18:41:23 +00:00
antonm@google.com 5368a3bf6e Support optional callbacks.
Review URL: https://chromiumcodereview.appspot.com//9455090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4620 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 15:29:03 +00:00
podivilov@google.com c2188740d3 Support ImplementedBy idl attribute.
R=antonm@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4617 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 14:37:37 +00:00
podivilov@google.com 7d58ee8e84 Do not rename idl types to dart types at top level - this info is needed for native bindings generation.
R=sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4610 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 13:02:45 +00:00
podivilov@google.com b90da48f07 Ignore attributes and methods with CheckSecurityForNode.
Any cross frame access is considered as insecure, so stuff like contentDocument and frameElement make no sense in Dart.

R=antonm@chromium.org
BUG=1858
TEST=dart/security/cross-frame-access.html

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4607 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 12:33:24 +00:00
ngeoffray@google.com 0f350dcb7e Better mangling in frog for fixing parts of issue 1837.
Review URL: https://chromiumcodereview.appspot.com//9465041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4595 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-26 17:33:20 +00:00
vsm@google.com 06152a86c7 Cross frame access tests
We're allowing illegal cross-frame access on both Dartium and Frog right now.  I'm working on fixing the latter.

If these tests look good, I'll set the status file accordingly and land.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4591 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-26 01:50:45 +00:00
sra@google.com bad253e025 Fix parsing of DOMString[] in IDL
This is a prerequisite for fixing 1811, 1812.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4586 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-25 07:15:01 +00:00
antonm@google.com 4a9704f36d Support arguments in constructors.
Review URL: https://chromiumcodereview.appspot.com//9465011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4576 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 16:27:14 +00:00
antonm@google.com 225a61e054 Support flags for ParameterAdapters.
Review URL: https://chromiumcodereview.appspot.com//9463011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4574 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 15:22:23 +00:00
podivilov@google.com 129cc0f904 Update WebKit idls directories after recent merge.
TBR=sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4567 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 13:29:47 +00:00
ngeoffray@google.com 117fcf3d48 Put two $ in front of top-level builtins, to not clash with member names. Otherwise, the global object calls the top-level builtin instead of its member.
Review URL: https://chromiumcodereview.appspot.com//9447049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4564 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 11:44:24 +00:00
sra@google.com ba2cca463c This CL generates factory provider classes for any interface with a [Constructor] or [NamedConstructor] extended attribute.
The factory provider is generated from a template, using the pattern of an IDL interface specific template for the exceptional cases and a general template for the other cases.  I used the special case to adjust the number of arguments in the JavaScript call - longer term I think we might want to be a bit more intelligent about default argument values.

This CL generates for frog and dummy, the others need to be added.  Once the others have been added we might see an opportunity for abstracting out some of the mechanism but I it might turn out they are all slightly different.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4560 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 02:03:18 +00:00
sra@google.com 4e677996cc Fix for issue 1814 for dart:dom
Emit canned native bodies as a work-around for Issue 1814.

A better solution is to support the alternate name directly - then the
compiler can specialize the call site and avoid testing argument
values to determine the number of parameters.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4557 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 23:53:57 +00:00
sra@google.com 19af3bf64d Update copyright in dart:dom interface templates
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4510 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 01:09:20 +00:00
sra@google.com 2a85838483 Remove duplicate of SystemInterface
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4502 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 22:33:06 +00:00
jacobr@google.com f52742ae0a BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4495 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 21:44:55 +00:00
nweiz@google.com 38af502c09 Regenerate htmlimpl.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4483 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 19:05:35 +00:00
podivilov@google.com 9e23b94962 Move native system generator to a separate script.
R=sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4427 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 07:40:43 +00:00
sra@google.com 372a1e8602 Make dom/DocumentTest and dom/TypingTest work again
These broke in the port from WebKit to Dart test frameworks.

It DocumentTest broke because it uses the document URL and the Dart framework changes the file name.  Fixed by making the predicates to be less fussy.

TypingTest broke because it counts style sheets and the unittest framework adds one more.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4420 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 02:25:01 +00:00
sra@google.com 196da15a28 Make dom/XHRTest pass.
Made to pass by verifying GET failed as we currently have no way to
place a file with a fixed name alongside the .html file (the file
names are prepended with an execution-environment dependent name.)

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4418 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 00:43:19 +00:00
nweiz@google.com d5613e9e68 Get rid of duplicate 'tbody' keys in CUSTOM_PARENT_TAG_MAP.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4409 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 21:42:22 +00:00
sra@google.com dc545910fb Parse function-style extended attributes part #1
Constructor/NamedConstructor extended attributes have argument lists.
This change ensures they are parsed, renamed, written correctly.

Part #2 will be to process the argument list for the systems.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4385 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 00:08:27 +00:00
antonm@google.com e58b246ec3 Support generation of constructors in the most common case.
Review URL: https://chromiumcodereview.appspot.com//9416062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4380 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-20 15:06:51 +00:00
podivilov@google.com 9d30a88866 Do not use relative paths in dom scripts.
TBR=sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4376 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-20 11:29:51 +00:00
jacobr@google.com 2dd9808b7b Wrapperless dart:html generator
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4373 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 22:11:16 +00:00
sra@google.com 9552d0e337 Regenerate frog dom
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4368 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 19:56:19 +00:00
scheglov@google.com cf869318e9 Issue 1606/1108. The 'native' keyword is supposed to only be allowed in core libraries.
http://code.google.com/p/dart/issues/detail?id=1606
http://code.google.com/p/dart/issues/detail?id=1108

R=codefu@google.com,zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4361 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 18:07:07 +00:00
scheglov@google.com 5fdd279826 Issue 1475. Report warning for non-unique Map literal keys.
http://code.google.com/p/dart/issues/detail?id=1475

R=codefu@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4360 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 17:55:29 +00:00
podivilov@google.com 57fcdcfa53 WebSocketTest now passes in dartium.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4355 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 15:38:04 +00:00
podivilov@google.com ff1ca30b8d Update DOM scripts after recent webkit merge.
TBR=antonm@google.com,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4322 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 16:03:17 +00:00
antonm@google.com 30eab6bdd7 Support constructor generation for XSLTProcessor.
BUG=1642
TEST=client/tests/client/dom/XSLTProcessorTest.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4318 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 15:39:04 +00:00
podivilov@google.com 35c98f9e9f Remove unused dom/common files.
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4306 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 10:38:54 +00:00
nweiz@google.com 548bc8e0b7 Fix a minor declaration issue in ElementWrappingImplementation.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4299 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 00:07:23 +00:00
podivilov@google.com 706bc11a85 Implement C++ bindings generation in dartgenerator.py.
R=antonm@google.com,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4256 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 12:56:38 +00:00
podivilov@google.com fadde97358 A bunch of fixes in idl database generator.
* Enable SHADOW_DOM
* Add "mediastream" directory to idl search path
* Fix attribute exceptions rendering

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4253 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 09:24:41 +00:00
podivilov@google.com 105950f3ce Remove RequestAnimationFrameCallback.dart from native dom_public.darttemplate.
TBR=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4222 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 14:32:18 +00:00
podivilov@google.com 9b2808e9ba RequestAnimationFrameCallback.dart should be generated.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4220 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 13:46:08 +00:00
ngeoffray@google.com eeeb21f604 Fix bot with status changes.
Review URL: https://chromiumcodereview.appspot.com//9348083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4218 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 13:39:48 +00:00
podivilov@google.com 8a721df41d Add ImplementedBy attribute for operations merged from [Supplemental=XXX] interfaces.
C++ implementations need to know webcore factory name.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4209 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 09:51:55 +00:00
nweiz@google.com 305256ae0a Ensure that newly-constructed elements don't have parents.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4206 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 02:30:05 +00:00
sra@google.com 6e7bcb52f0 Add XSLTProcessor constructor
Fixes Issue 1642 for Frog.
Implementation needed for Dartium.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4205 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-14 02:00:45 +00:00
sra@google.com 925d1de0a8 Avoid generating an overriding field in dart:dom
- Detect when the shadowed implementation is adequate and use that.
- If it is not adequate, generate getter / setter

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4193 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 20:37:26 +00:00
sra@google.com 15976d2f7f Let EventTarget be a base class in the frog dom.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4166 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 09:57:06 +00:00
dgrove@google.com 731387795c Move client/{base, observable, layout, touch, util, view} to samples/ui_lib .
Review URL: http://codereview.chromium.org//9382027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4154 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 23:44:48 +00:00
vsm@google.com 3424aff746 Fix status files for Dartium Debug
TBR=antonm

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4152 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:44:51 +00:00
dgrove@google.com 8aa173dc7e Eliminate client/json, since we now have lib/json.
Review URL: http://codereview.chromium.org//9384021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4151 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:15:52 +00:00
vsm@google.com f2b2e79840 Move Dromaeo to third_party.
See LICENSE and README.  I also updated html files to point to dart.js.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4149 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 22:08:58 +00:00
podivilov@google.com 3fb3393e53 Draft implementation of c++ bindings generation.
Generate stubs for all c++ files.

R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4133 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 14:54:32 +00:00
whesse@google.com 269d5ee237 Remove tools/test_wrapper.py. test.py is now a wrapper for test.dart.
BUG=dart:1036
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4129 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 11:56:34 +00:00
sra@google.com 4a28f8aea4 Ensure 'raises' clauses on operations are saved in IDL database.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4117 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 06:18:14 +00:00
jmesserly@google.com 9918d69710 Update Opera status
For now tests are disabled on the bot while we get it working.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4109 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:54:29 +00:00
rnystrom@google.com 7b5e67b5d6 First prototype of import map generator.
Review URL: https://chromiumcodereview.appspot.com//9369006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4106 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:09:49 +00:00
dgrove@google.com 866eecc34a Move json to lib/json/{json.dart, json_frog.dart}
Review URL: http://codereview.chromium.org//9374030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4101 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 23:38:34 +00:00
vsm@google.com cb22da0cf4 Move these dart:html tests from Dartium layout test to client tests.
Stephen: I'll delete these from the Dartium repo as well.

TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4063 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 05:16:43 +00:00
sra@google.com 90ed748b49 Process IDL interfaces in pre-order so that parents are seen first
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4060 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 03:38:57 +00:00
jmesserly@google.com 24aebd0d3d repurpose dart_client bots for browser testing
I also refactored the buildbot_annotated_steps in client to remove the now-dead code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4057 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-09 01:41:43 +00:00
sigmund@google.com 124700481b add string-equals to unittest, fix implementation in expect.dart
Review URL: https://chromiumcodereview.appspot.com//9365023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4050 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 20:42:41 +00:00
whesse@google.com 9f27aa3a69 Remove unused support files for old version of tools/test.py.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
ahe@google.com 41f0492cf0 Remove dartc optimizing backend.
Review URL: https://chromiumcodereview.appspot.com//9353015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
sra@google.com 750287649f dartdomgenerator now copies frog dom to final location
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4022 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 05:47:33 +00:00
jmesserly@google.com 66f5fbf6c2 This change is the start of code to generate dart:html using dart:dom scripts. It essentially just adds the scaffolding for dart:html, and implements the generation of the "Events" interface and "EventsImpl" classes. There's more to do before the result is actually usable. For example, this doesn't contain EventsImplementation--I'm assuming we'll take jacobr's handwritten version.
I didn't check in the ../generated/html folder yet, but let me know if that makes sense.

(Note: I started with a copy of DartInterfaceGenerator instead of inheriting, but it ended up causing extra duplication when merging Stephen's recent getter/setter change. I think inheritance will be an easier way to build up the functionality, because we're essentially saying "dart:html is like dart:dom, but apply these extra transforms". Once most of the methods are overridden it would definitely make sense to break the link.)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4021 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 03:26:52 +00:00
sra@google.com da0a60ea1b Remove JS from wrapping implementation.
1MB JS RIP.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4015 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 00:05:20 +00:00
sra@google.com fd9e2740a4 Generate dummy dom to replace wrapping dom for dartc.
Wrapping dom is still generated at this point.  It will be refactored into used and unused parts in a subsequent CL.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4012 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 23:09:53 +00:00
dgrove@google.com 641f078329 Move utils/{uri, utf8} to lib/{uri, utf8} .
Fixes issue 1562 .
Review URL: http://codereview.chromium.org//9325085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4010 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:31:10 +00:00
sra@google.com e6a93d13c8 Use _GenerateLibFile for dartium libs.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4001 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 17:26:29 +00:00
sra@google.com 054f15df94 Update client/dom/scripts/dartgenerator_test.py
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3979 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 03:19:29 +00:00
sra@google.com 98bd0b6553 Remove vestigial constructors in Frog implementation classes.
These should have been removed earlier.
Remove inaccurate comment.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3978 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 02:47:33 +00:00
sra@google.com d9b36fc89e Use 'field' syntax in dart:dom interfaces.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3977 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 02:16:55 +00:00
nweiz@google.com 617257d06e Add a constructor for DOMParser.
Review URL: https://chromiumcodereview.appspot.com//9310103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3969 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 21:03:02 +00:00
podivilov@google.com 69ee1341d9 Support 'Conditional' idl attribute.
'Conditional' attribute is a replacement for "#if defined" conditions and should be processed accordingly.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3939 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 12:06:16 +00:00
sra@google.com 602d778a47 Use fields in hidden native DOM classes instead of getters/setters.
Frog can generate JS with the field syntax when the reciever type can be inferred.

BUG=1520
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3926 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-04 08:29:05 +00:00
jacobr@google.com 5825741150 Cleanup mdn scripts
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3920 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:01:58 +00:00
vsm@google.com 516032d7ad Remove obsolete readme/license files.
We no longer host IDL within this repo.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3916 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:46:57 +00:00
antonm@google.com da03b4eb47 Nuke DOMImplementation.hasFeature test for Dart support.
Review URL: https://chromiumcodereview.appspot.com//9310059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3890 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:17:28 +00:00
podivilov@google.com 60d5c020ab Mark HTMLElementTest as failing on Dartium (dataset is not implemented).
R=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3889 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:14:03 +00:00
podivilov@google.com 238a7da6bd Keep 'raises' idl annotations.
Generated native callbacks need to know if operation may throw an exception.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3884 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 08:34:44 +00:00
vsm@google.com bc8ed29b7a Skip WebGL test on all platforms
Review URL: https://chromiumcodereview.appspot.com//9307075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3880 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 23:27:03 +00:00
efortuna@google.com 7f85b28ff6 Fix windows performance tests.
Review URL: https://chromiumcodereview.appspot.com//9325002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3865 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:15:31 +00:00