rnystrom@google.com
0bc9b19740
Rename BadNumberFormatException -> FormatException.
...
Review URL: https://chromiumcodereview.appspot.com//10850034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10354 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 20:56:59 +00:00
dgrove@google.com
89dd99fdd0
Convert DOM and HTML frog to dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//10800104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9871 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 22:45:59 +00:00
antonm@google.com
dd491625ca
Simplify ReceivePortSync.receive implementation.
...
R=vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10695147
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9553 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-11 16:55:44 +00:00
vsm@google.com
9c4f5eda7f
Added Dartium support for JS to Dart PortSync calls
...
I addressed your test comments from the last cl - sorry for missing the last time.
Review URL: https://chromiumcodereview.appspot.com//10702110
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9431 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-06 09:33:34 +00:00
podivilov@google.com
c3977d7b22
Get rid of DOMWrapperBase and DOMTypeBase.
...
These types are not needed anymore.
R=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10659033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9242 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 10:21:25 +00:00
vsm@google.com
d2624ab46f
Enable cross frame window operations
...
This should get everything working for dart2js besides the location
and history getters.
BUG=3472
TEST=window_open_test
Review URL: https://chromiumcodereview.appspot.com//10601003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8988 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 16:36:15 +00:00
ager@google.com
4806b28e5e
Remove string + uses from dart:html.
...
R=kasperl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10559034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8791 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:21:48 +00:00
antonm@google.com
2b23a9c3b1
Some more + cleanups.
...
TBR=podivilov@chromium.org
Review URL: https://chromiumcodereview.appspot.com//10544204
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8771 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 09:36:40 +00:00
sra@google.com
e3ce628065
Wrap Location object on Firefox.
...
This is a fix for Issue 3152.
https://code.google.com/p/dart/issues/detail?id=3152
Review URL: https://chromiumcodereview.appspot.com//10534130
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8635 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 23:40:30 +00:00
vsm@google.com
751b6d816e
Remove _ from params
...
BUG=3496
Review URL: https://chromiumcodereview.appspot.com//10543115
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8557 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 17:51:48 +00:00
sra@google.com
161d21ec06
indexedDB work
...
Make string 'mode' argument to IDBDatabase.transaction work on older browsers.
Make window.indexedDB available. Does not yet work of Firefox for other
reasons.
Add interface IDBOpenDBRequest. IDBFactory.open returns this in the most recent spec, and is implemented by Firefox.
Next, I will try to use the new event kinds on IDBOpenDBRequest to get Firefox to open a database.
Review URL: https://chromiumcodereview.appspot.com//10540016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8369 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 23:19:36 +00:00
vsm@google.com
207a0bbb35
Fix bug in Dromaeo to use the proper generated html file.
...
Review URL: https://chromiumcodereview.appspot.com//10484004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8216 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-01 21:49:24 +00:00
podivilov@google.com
2f43f86528
Fix indexeddb_4_test.
...
R=sra@google.com ,vsm@google.com ,antonm@google.com
BUG=3301
Review URL: https://chromiumcodereview.appspot.com//10448075
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8185 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-01 07:23:45 +00:00
podivilov@google.com
088d36e93b
Remove other occurencies of _unwrap from dart:html.
...
TBR=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10449090
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8160 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 15:44:14 +00:00
podivilov@google.com
18d4d45f4c
Remove now useless top level _wrap and _unwrap from dart:html.
...
R=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10456033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8156 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 14:18:09 +00:00
podivilov@google.com
aa58f2ceee
Wrapperless dart:html for Dartium.
...
R=antonm@google.com ,sra@google.com ,vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//10456006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8113 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 16:19:05 +00:00
podivilov@google.com
1df52df3ed
Move dart:dom implementation classes to dart:html library.
...
Rename dom implementation classes to _<Interface>DOMImpl to avoid clashes with html
implementation classes, and import dom implementation classes directly into dart:html.
Temporary introduce fake dom interfaces for overload dispatching (dom implementation classes
don't implement html interfaces yet).
R=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10383302
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7954 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 17:05:23 +00:00
vsm@google.com
bdd5ab5fd8
Minimal fix to get cross frame tests working, take #2 .
...
See patches for minor fixes.
TBR=sra
Review URL: https://chromiumcodereview.appspot.com//10332105
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7528 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 04:26:45 +00:00
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
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
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
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
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
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
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
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