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
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
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
3e370fe74e
Enable html_dartium to be built as part of dartium build
...
Review URL: https://chromiumcodereview.appspot.com//10126002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6752 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 16:52:46 +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
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
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
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
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
nweiz@google.com
d257b17273
Use a better error message when $!MEMBERS isn't used in a template file.
...
Review URL: https://chromiumcodereview.appspot.com//9963123
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6157 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 00:20:01 +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
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
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
d3bc39272e
Another dartium fix. I swear this is the last one.
...
TBR... Fix a Dartium bug that was uncaught because we weren't really using the latest version of dart:html on dartium
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9965003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6020 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 03:07:35 +00:00
jacobr@google.com
dd9bdb5ece
dart:html perf optimization based on runing Dromaeo benchmarks
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9732019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5955 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:23:39 +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