Commit Graph

66 Commits

Author SHA1 Message Date
vsm@google.com 8dab28a81e Revert "Minimal fix to get cross frame tests working."
A couple more complications than I expected on the dartium side.  I'm
reverting and redoing.

TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7481 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-10 05:38:36 +00:00
vsm@google.com 5f33455489 Minimal fix to get cross frame tests working.
I'm working on a more general fix that should obsolete this change.

BUG=http://code.google.com/p/dart/issues/detail?id=2774
TEST=cross_frame_test,inner_frame_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7480 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-10 04:09:12 +00:00
sra@google.com 2a4b833d1a FileList is a sequence - make it have indexer.
Review URL: https://chromiumcodereview.appspot.com//10332038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7388 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 17:03:34 +00:00
antonm@google.com 9fc596d693 Proper support for Uint8ClampedArray.
R=podivilov@chromium.org
TEST=dom/typed_array_{2,4}_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7364 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-05 14:58:52 +00:00
antonm@google.com 2806978be7 Rework static method support.
For now I just nuke them from all generators except for systemnative.

However, that remove two methods from DOMURL.  One of those should probably be a ctor.
The second one is funnier as it looks like legetimate static methods.

R=podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7320 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 11:05:29 +00:00
antonm@google.com 2265ee8d82 Suppress zero-argument IDBObjectStore.openCursor.
TBR=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7319 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 10:31:20 +00:00
antonm@google.com 25af6c0b2a Revert "Forbid zero argument variant of IDBRequest.openCursor."
This reverts commit 103e8546ae54906bacca44e2331e706cd04b3f41.

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7318 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 10:00:47 +00:00
antonm@google.com 7100b4695c Forbid zero argument variant of IDBRequest.openCursor.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7316 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 09:50:51 +00:00
sra@google.com c14588e1ef Add IDBKeyRange to dart:html, port two indexeddb tests
Review URL: https://chromiumcodereview.appspot.com//10378004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7310 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 00:09:24 +00:00
sra@google.com 31b413e555 Revert "Add IDBKeyRange to dart:html, port two indexeddb tests"
Review URL: https://chromiumcodereview.appspot.com//10382002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7309 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 00:03:29 +00:00
sra@google.com 098a27d1af Add IDBKeyRange to dart:html, port two indexeddb tests
... with .status fixes

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7308 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 23:54:30 +00:00
sra@google.com 21b2c6302a Revert "Add IDBKeyRange to dart:html, port two indexeddb tests"
Review URL: https://chromiumcodereview.appspot.com//10378003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7307 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 23:44:28 +00:00
sra@google.com 6defeeb156 Add IDBKeyRange to dart:html, port two indexeddb tests
Review URL: https://chromiumcodereview.appspot.com//10352021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7306 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 23:28:18 +00:00
vsm@google.com 9c8c7fab5e Roll IDL to multivm@477
Review URL: https://chromiumcodereview.appspot.com//10358016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7303 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 21:57:09 +00:00
sra@google.com 149d677ffc Fix for $dom_$dom_svgClassName
Review URL: https://chromiumcodereview.appspot.com//10308002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7213 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 04:27:06 +00:00
vsm@google.com 94344cd762 Rename getTEMPNAME to get
BUG=2584
TEST=xhr_test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7212 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 04:20:45 +00:00
vsm@google.com 863f8807ef Add stubs to frog to keep dartc happy
Looks like dartc is type-checking html_dartium against dom_frog.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7199 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 18:26:43 +00:00
vsm@google.com c2339e4044 Fix for DartC
This is a hack to get the bot green.  It will break next time we regen.

TBR=podivilov

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7118 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 01:39:09 +00:00
vsm@google.com 6482916705 Add AudioElement constructor to dart:html
BUG=2517
TEST=dom/audiocontext_test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7111 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 23:18:34 +00:00
antonm@google.com cbcf2b755c Nuke CanvasPixelArray as it is dropped from WebKit as well.
Getting ready for next roll.

TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7064 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 10:41:37 +00:00
sra@google.com d6cf7e81c5 Regenerate dart:dom & dart:html
Picks up DOMStringList

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6981 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 23:06:07 +00:00
vsm@google.com d8b823b1d3 Roll IDL to multivm@439
Added mapping from Dictionary to Map.

TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6906 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 18:05:44 +00:00
antonm@google.com 76c0a61d35 Regenerate libs.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6883 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 14:50:48 +00:00
sra@google.com c809a98b54 Browser compat for window.requestAnimationFrame
Review URL: https://chromiumcodereview.appspot.com//10166024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6824 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-21 19:38:23 +00:00
sra@google.com 18554fa4de Revert "Browser compat for window.requestAnimationFrame"
This reverts commit 5ce95ee727ce46bb0381926bba21335a1eff7443.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6823 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-21 19:03:26 +00:00
sra@google.com e6c9d7df7f Browser compat for window.requestAnimationFrame
Review URL: https://chromiumcodereview.appspot.com//10161014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6822 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-21 18:14:45 +00:00
vsm@google.com 0787331c69 Fix html TypedArray constructors
TBR=jacobr

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6821 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-21 05:22:42 +00:00
sra@google.com f0ff872d3f Revert "Revert "Revert "Revert "Constructors for IDBKeyRange""""
Re-apply "Constructors for IDBKeyRange" with more status file changes.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6775 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 22:18:47 +00:00
sra@google.com d86ae6c3ff Revert "Revert "Revert "Constructors for IDBKeyRange"""
This reverts commit b673ffb43044b403332fbd116bfbfc371c3fdeaf.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6773 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 22:07:31 +00:00
sra@google.com 97f2aa5ed2 Revert "Revert "Constructors for IDBKeyRange""
Fix status file and missing 'native' keyword.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6772 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 21:44:18 +00:00
sra@google.com 0ad7fde830 Revert "Constructors for IDBKeyRange"
Review URL: https://chromiumcodereview.appspot.com//10142001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6771 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 21:26:55 +00:00
sra@google.com d1d09e822c Constructors for IDBKeyRange
Removed static methods on interface and replaced with constructors.

This is dom only, html to come later.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6770 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 21:05:00 +00:00
vsm@google.com 0bcfad872a Update fremontcut with current chrome feature defines
This will bring dart2js / html up to date with Chrome generated dom.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6714 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 22:19:12 +00:00
vsm@google.com 2a115d4420 Roll WebCore IDL to multivm@418
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6704 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 17:56:36 +00:00
sra@google.com 4a81499920 Map IDBAny and IDBKey to Dynamic
Specialize printing of Dynamic depending on context.
Interfaces try to print it as /*IDLType*/ in operation signatures.
Generated C++ is unchanged.

Replace the arg_info tuple with a ParamInfo object.
Rename arg_infos to param_infos.

   void postMessage(Dynamic message, [List messagePorts]);
-> void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]);

   String createObjectURL(var blob_OR_stream);
-> String createObjectURL(blob_OR_stream);

   final Dynamic key;
-> final /*IDBKey*/ key;

   Dynamic strokeStyle;
-> var strokeStyle;

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6665 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 23:20:28 +00:00
antonm@google.com 593ac870ad Refresh libs.
Review URL: https://chromiumcodereview.appspot.com//10089002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6529 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 16:03:29 +00:00
podivilov@google.com 45f10a7f63 Remove EventListener attributes from Dart DOM API.
All idl interfaces that have EventListener attributes are EventTargets and implement
addEventListener/removeEventListener methods. We can safely drop this JavaScript legacy now.

The changes in dom and html libs are due to interfaces that are now treated as EventTargets
(the list of EventTargets in webkit-supplemental were not full).

R=sra@chromium.org,jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6519 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 13:26:49 +00:00
jacobr@google.com af8e09788d Fix ApiDoc to work with new dart:html code. Tweak dart:html generator to generate clearer @domName annotations.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6505 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 09:27:20 +00:00
vsm@google.com 84ae71ef30 Roll IDL to multivm@375
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6376 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:45:21 +00:00
podivilov@google.com 9af05c07ee Auto-generate TimeoutHandler.dart.
R=antonm@chromium.org,sra@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6317 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 11:31:08 +00:00
jacobr@google.com 5771e2c98d Add touchenter event even though it doesn't have an ontouchenter method in the DOM.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6289 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 18:12:35 +00:00
vsm@google.com c5338dc38c Add accidently omitted IDL files from last roll (to multivm@358)
This explains the inconsistencies we were hitting yesterday.  My fault!

This workflow should generally work to roll IDL forward if you're using git-cl:

./idlsync.py && git add ../../../third_party/WebCore/ && ./fremontcutbuilder.py && ./dartdomgenerator.py

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6287 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 17:25:52 +00:00
jacobr@google.com 4c1c8becf3 Add back @domName annotations to dart:html
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6248 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 21:32:39 +00:00
vsm@google.com cc87d5f312 Roll IDL forward to multivm@358
This is the result of:
./idlsync.py && ./fremontcutbuilder.py && ./dartdomgenerator.py

TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6238 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 18:45:22 +00:00
sra@google.com 3914d0b543 Delete lib/html/release/html.dart
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6227 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 16:34:29 +00:00
sra@google.com e0804ebae7 Update lib/html/release/html.dart
This file is identical to lib/html/dartium/html_dartium.dart. It really
should be deleted and places point to this file should pick one of the
implementations.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6212 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 01:14:01 +00:00
sra@google.com 090925494c Revert "Delete now-unused copy of dart:html"
This reverts commit 0d23941aad7771605911e6a3beeb4bef544f613f.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6208 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:22:17 +00:00
sra@google.com 9e910ed1ce Delete now-unused copy of dart:html
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6207 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 23:10:34 +00:00
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
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