efortuna@google.com
58b10f811e
Reapply Futureification.
...
BUG=
Review URL: https://codereview.chromium.org//12543014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19590 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 00:13:57 +00:00
efortuna@google.com
60a5ed7215
"Reverting 19586"
...
BUG=
Review URL: https://codereview.chromium.org//12463028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:43:47 +00:00
efortuna@google.com
18f08c3a4c
Future-ify All the methods!
...
(with a few exceptions we've planned).
Also added some tests to test these apis.
BUG=
Review URL: https://codereview.chromium.org//12380046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:32:54 +00:00
blois@google.com
665339880a
Renaming CSS primitive types to have CSS prefixes.
...
BUG=
Review URL: https://codereview.chromium.org//12387106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19504 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 19:02:51 +00:00
blois@google.com
0ae18dedcd
Updating annotations for shadow dom types.
...
Needed to add an annotation for CssHostRule and updated Chrome supported version (it was a flag on Chrome 25, is now on by default in Chrome 26).
BUG=8239
Review URL: https://codereview.chromium.org//12386059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19442 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:13:11 +00:00
antonm@google.com
5e96e05745
Support DateTime conversions.
...
R=ager@google.com ,blois@google.com ,podivilov@chromium.org
BUG=8836
Review URL: https://codereview.chromium.org//12378043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19333 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 18:23:58 +00:00
blois@google.com
edb2b3c697
Revert "Revert "Converting dart:html to use DateTime rather than Date.""
...
Re-submitting change to use DateTime rather than Date.
I'm just disabling the new tests I added since they're failing on Dartium. Opened a bug tracking the Dartium and tests changes.
This means that dates are broken on Dartium, but they were broken everywhere before this change.
BUG=
Review URL: https://codereview.chromium.org//12330174
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19325 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 17:34:40 +00:00
blois@google.com
d4d1228ce9
Cleaning up the TableElement API
...
Basically just converting to more proper types for a number of the APIs.
BUG=
Review URL: https://codereview.chromium.org//12320102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19175 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 21:47:09 +00:00
antonm@google.com
04082f2d09
Proper support for typedefs.
...
And allow them in WebKit IDLs.
R=ager@google.com ,blois@gogole.com ,podivilov@chromium.org ,sra@google.com
Review URL: https://codereview.chromium.org//12313148
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19146 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 15:48:26 +00:00
blois@google.com
4698696514
Revert "Converting dart:html to use DateTime rather than Date."
...
This reverts commit 19107 because it broke Dartium.
BUG=
Review URL: https://codereview.chromium.org//12335120
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19108 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 03:16:01 +00:00
blois@google.com
bc54cc3f32
Converting dart:html to use DateTime rather than Date.
...
We had been exposing JS Date objects as Dart Dates, but it appears to never actually worked. Switched over to DateTime and added a converter for it.
BUG=
Review URL: https://codereview.chromium.org//12316139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 02:57:31 +00:00
blois@google.com
70a105d262
Fixing web_sql SqlResultSetRowList row accessor.
...
Basically the JS generated code is using indexed getters even when they are not available and alternate methods should be used.
BUG=8666
Review URL: https://codereview.chromium.org//12334081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19055 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 16:59:11 +00:00
blois@google.com
bc4f90bd09
Dartifying remainder of Index DB APIs.
...
BUG=
Review URL: https://codereview.chromium.org//12313015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18992 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 18:59:34 +00:00
blois@google.com
ee0477df38
Adding supported checks and annotations to Crypto API.
...
BUG=8703
Review URL: https://codereview.chromium.org//12326071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18985 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 17:39:08 +00:00
benwells@google.com
088ae22e82
Update idlsync.py to pull in dependencies required for chrome api generation.
...
BUG=None
Review URL: https://codereview.chromium.org//12300042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18955 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 03:52:06 +00:00
sra@google.com
e713872550
Annotations for WebGLRenderingContext.getParameter
...
Review URL: https://codereview.chromium.org//12315064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18938 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-23 01:09:34 +00:00
blois@google.com
0f8df99a73
Fixing WheelEvent.deltaMode polyfill after IDL update.
...
BUG=8713
Review URL: https://codereview.chromium.org//12335036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18904 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:32:19 +00:00
blois@google.com
51cd64501d
Separating Web SQL into dart:web_sql.
...
These APIs are essentially deprecated as standardization as ceased for them, but they are also the only DBs available for mobile devices.
Separating out so it's easier to disable later.
BUG=
Review URL: https://codereview.chromium.org//12218185
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18782 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 21:05:24 +00:00
blois@google.com
d8265d81a5
Fixing Geolocation on Firefox
...
For position, Firefox is returning an object which doesn't map nicely, so added a wrapper for that.
Also cleaned up the APIs to make them more dart-friendly.
BUG=7547
Review URL: https://codereview.chromium.org//12274002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18723 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 21:18:36 +00:00
floitsch@google.com
ecce8a6293
Remove deprecated Strings class.
...
Review URL: https://codereview.chromium.org//12295014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
efortuna@google.com
d7057b2d8c
Reapply setTimeout change.
...
This CL is identical to 18555. The reason it will work now is the corresponding
dartium change has been checked in.
TBR-blois
BUG=
Review URL: https://codereview.chromium.org//12254046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18562 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 07:40:51 +00:00
kustermann@google.com
6e15e3eff7
Revert "Reapply remove setTimeout, take 3."
...
Review URL: https://codereview.chromium.org//12207198
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18559 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 04:25:18 +00:00
efortuna@google.com
adf0fadd0d
Reapply remove setTimeout, take 3.
...
BUG=
Review URL: https://codereview.chromium.org//12259037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18555 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:42:13 +00:00
blois@google.com
fd2c1cbf89
Adding supported checks and flags to FormData
...
Also fixing the test to pass on IE10.
BUG=4793
Review URL: https://codereview.chromium.org//12230033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18554 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:23:52 +00:00
efortuna@google.com
2b86a542a3
"Reverting 18531"
...
BUG=
Review URL: https://codereview.chromium.org//12212200
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18542 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 21:33:33 +00:00
blois@google.com
432aa0994c
Renaming Element.dataAttributes to Element.dataset.
...
Element.dataset is the DOM version of the API, so we should have ours named the same.
Opened bug #8545 that we should optimize Element.dataset to use the native functionality if present.
BUG=5963
Review URL: https://codereview.chromium.org//12262048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18533 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:12:38 +00:00
efortuna@google.com
8da959b722
Reapply remove setInterval.
...
BUG=
Review URL: https://codereview.chromium.org//12253011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18531 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:08:45 +00:00
blois@google.com
1c3fc640c9
Adding monitoring to a number of DOM generation scripts.
...
Also fixing a bunch of issues uncovered.
BUG=
Review URL: https://codereview.chromium.org//12252019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18499 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:43:30 +00:00
blois@google.com
b4fa823142
Updating Element.scrollIntoView to be platform independent.
...
BUG=
Review URL: https://codereview.chromium.org//12226129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18498 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:40:03 +00:00
vsm@google.com
fbe58ddefc
Import chrome idl into third_party
...
This is the result of:
./idlsync -u all
in tools/dom/scripts.
This also includes a simple script fix suggested by Anton.
TBR=antonm
Review URL: https://codereview.chromium.org//12261015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18483 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:14:39 +00:00
efortuna@google.com
3b0c52f47f
Reverting setTimeout removal.
...
BUG=
Review URL: https://codereview.chromium.org//12258020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18478 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:06:31 +00:00
blois@google.com
8eb3de4f72
Fixing Indexed DB's CursorWithValue.value
...
CursorWithValue.value was not getting converted from a JS type to a Dart type.
BUG=8254
Review URL: https://codereview.chromium.org//12226134
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18476 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 20:50:12 +00:00
efortuna@google.com
71a32af213
Combine window.setTimeout/setInterval with Timer and Timer.repeating. Also
...
Stream-and-future-ified some of the Window methods that used to take callbacks.
BUG=
Review URL: https://codereview.chromium.org//12218131
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18475 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 20:32:30 +00:00
vsm@google.com
1e2dc5828f
Refactor idlsync.py to update chrome apps idl/tools.
...
Note, by default, idlsync.py will only update webkit IDL. Use:
idlsync.py -u chrome
to update chrome only or:
idlsync.py -u all
to update both.
Sasha: can you verify that the WHITELIST (*.py, *.idl, *.json) matches the files you need? Everything else will be pruned. Also, note, I've slightly changed the directories to not conflict with the existing ones pulled in by DEPS. I will remove those existing ones in a separate CL (the DEPS is a slightly different repo path).
Emily/Anton: can you review the rest? If this looks good, the intent is to run and check-in the files under third_party/chrome.
BUG=http://code.google.com/p/dart/issues/detail?id=8173
Review URL: https://codereview.chromium.org//12225151
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18467 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 18:53:39 +00:00
blois@google.com
6735b55710
Removing deprecated events syntax.
...
BUG=
Review URL: https://codereview.chromium.org//12217124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18459 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 17:43:57 +00:00
blois@google.com
1b01a2f5a0
Making NamedNodeMap private
...
It's an internally used class which we wrap for all public APIs.
BUG=7916
Review URL: https://codereview.chromium.org//12218107
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18417 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:00:18 +00:00
sashab@google.com
e72ed01842
Initial commit of generated dart:chrome app_window and app_runtime
...
Contains a working version of app_window.idl and app_runtime.idl, and can be run by importing the dart:chrome library.
Build with JSON Schema Compiler from Chromium.
Review URL: https://codereview.chromium.org//12209045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18415 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:42:37 +00:00
podivilov@google.com
31b9a09a76
EventTarget was marked as EventTarget upstream.
...
See https://bugs.webkit.org/show_bug.cgi?id=108441 .
R=antonm@google.com
Review URL: https://codereview.chromium.org//12217130
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18374 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 10:19:18 +00:00
efortuna@google.com
32ede3b24f
Remove Webkit prefix from all members and make experimental.
...
BUG=
Review URL: https://codereview.chromium.org//12220099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18351 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:02:59 +00:00
blois@google.com
e780a771d3
Dartifying some IndexedDB APIs.
...
BUG=
Review URL: https://codereview.chromium.org//12159005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18338 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 21:24:50 +00:00
efortuna@google.com
0ea0b1ef63
Allow non-primitive-value dictionaries to be passed to constructors for html
...
types.
BUG=
Review URL: https://codereview.chromium.org//12217089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18320 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 18:31:20 +00:00
blois@google.com
bf6831ecdd
Removing MouseEvent.x & y
...
They are non-standard and not supported on FireFox.
BUG=7826
Review URL: https://codereview.chromium.org//12217080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18293 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 00:56:02 +00:00
blois@google.com
d2802398c6
Fixing TransitionEnd event.
...
A number of related changes-
Bug 8340 is that we previously had WebKitTransitionEnd renamed to TransitionEnd, but had to remove that when Chrome added a new TransitionEnd.
Changes-
- Made WebKitTransitionEnd implement TransitionEnd and made it private.
- Added a test for the TransitionEnd event.
- Fixed the TransitionEnd event not working on non-Chrome browsers.
- Added support check for CSS transitions.
- Added annotations for CSS transition support.
BUG=8340
Review URL: https://codereview.chromium.org//12211099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18276 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 21:09:21 +00:00
blois@google.com
15a2c6d91f
Re-submit of 12213058 to fix CharacterData.remove
...
Original was hanging on Dartium as it was missing useHtmlConfiguration in the test.
patch from issue 12213058
BUG=
Review URL: https://codereview.chromium.org//12210073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18237 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 23:38:37 +00:00
blois@google.com
eed368b8f0
Revert "Fixing CharacterData.remove not working on FireFox."
...
This reverts commit 18201.
BUG=
Review URL: https://codereview.chromium.org//12212058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18202 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 01:49:30 +00:00
blois@google.com
72753e01e1
Fixing CharacterData.remove not working on FireFox.
...
CharacterData was overriding remove, but was not supported on FF, so just removed the override.
BUG=7173
Review URL: https://codereview.chromium.org//12213058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18201 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 01:13:53 +00:00
antonm@google.com
6de3b1f6a6
Follow up to IDL roll.
...
TBR=blois@google.com ,efortuna@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12233003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18141 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 15:14:38 +00:00
antonm@google.com
0b7b291246
Changes for the roll.
...
TBR=blois@google.com ,efortuna@google.com ,podivilov@chromium.org
Review URL: https://codereview.chromium.org//12207015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18132 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 11:47:43 +00:00
blois@google.com
164e568e62
Fixing the status of element_types_test/supported_object on IE.
...
It should be supported, but was previously failing because of incorrect supported check which was fixed earlier. Updating annotations to match test as well.
BUG=
Review URL: https://codereview.chromium.org//12212006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18110 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 02:20:45 +00:00
blois@google.com
cc0c8e4c31
Fixing element_types_test/supported_object
...
Typo had it checking meter instead which was masking a FF failure.
BUG=8293
Review URL: https://codereview.chromium.org//12188017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 01:24:56 +00:00