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
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
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
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
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
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
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
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
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
efortuna@google.com
5662b4726e
"Reverting 18090"
...
BUG=
Review URL: https://codereview.chromium.org//12180023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18091 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:22:50 +00:00
efortuna@google.com
58a4c28f5c
Remove webkit prefix and annotate with experimental tag.
...
BUG=
Review URL: https://codereview.chromium.org//12163009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18090 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:17:28 +00:00
efortuna@google.com
ce74c20fdb
Add supported checks to the SVG library, and library cleanup.
...
BUG=
Review URL: https://codereview.chromium.org//12082122
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17994 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:09:11 +00:00
efortuna@google.com
473bbc0487
"Reverting 17940"
...
BUG=
Review URL: https://codereview.chromium.org//12095088
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17941 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:48:36 +00:00
efortuna@google.com
cab5d4cc51
SVG Library cleanups and adding supported tag.
...
BUG=
Review URL: https://codereview.chromium.org//12038036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17940 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:38:00 +00:00
antonm@google.com
ed5c8a0fad
Support for Crome roll 176827->179299.
...
TBR=podivilov@chromium.org
Review URL: https://codereview.chromium.org//12094081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17911 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:22:42 +00:00
blois@google.com
19450bf645
Renaming Clipboard to DataTransfer
...
This is the W3C name of the class:
http://www.w3.org/TR/2011/WD-html5-20110113/dnd.html#the-datatransfer-interface
BUG=
Review URL: https://codereview.chromium.org//12114014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17878 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 22:55:04 +00:00
blois@google.com
51dce2b072
Adding supported checks for CssMatrix and Point.
...
Also renaming Point to DomPoint to avoid any potential clashes with a future Point class.
I'm also trying to get a Point class in dart's SDK, once this is added then DomPoint should be removed.
BUG=
Review URL: https://codereview.chromium.org//12049097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17667 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:13:08 +00:00
blois@google.com
d2aa044d2b
Deprecating old DOM event APIs.
...
This also exposes EventTarget.dispatchEvent. We had discussed naming this as 'dispatch', but it seems a bit safer to use 'dispatchEvent' to avoid potential name conflicts.
BUG=
Review URL: https://codereview.chromium.org//12047054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17595 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:42:02 +00:00
blois@google.com
edf1d5149f
- Changing event constructors to use named parameters.
...
- Making more parameters optional.
- Converting remaining init*Event calls to constructors.
BUG=
Review URL: https://codereview.chromium.org//12025027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17488 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:43:21 +00:00
blois@google.com
ccd052a508
Fixup of reverted CL- Fixing up Navigator.getUserMedia.
...
- Fixes Navigator.getUserMedia to be cross-platform.
- Adds supported checks.
- Dartifies the API.
First patch is the original, second is the fix.
Issue was that I used = for separating named parameters, rather than : (but it works on dart2js!). I think this distinction is lame, and opened a bug that these should use the same separator.
Review URL: https://codereview.chromium.org//12022027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17311 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 20:54:05 +00:00
blois@google.com
9cca892004
Revert "Fixing up Navigator.getUserMedia."
...
This reverts commit 17304. It broke dartium.
TBR
BUG=
Review URL: https://codereview.chromium.org//11871018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17306 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 19:17:48 +00:00
blois@google.com
b9b0ffd533
Fixing up Navigator.getUserMedia.
...
- Fixes Navigator.getUserMedia to be cross-platform.
- Adds supported checks.
- Dartifies the API.
BUG=
Review URL: https://codereview.chromium.org//11818066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17304 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:55:17 +00:00
blois@google.com
764b68db02
Removing redundant event streams.
...
Basically removing the event stream providers from Document and Window for events which are also declared on Element. The streams themselves are still exposed, just that a single provider is now on Element.
Also removed MediaElement events from Window, as they are duplicative and should be accessed via the MediaElement provider.
I was also hoping that this would have some JS size benefits, but I'm not seeing any.
BUG=7860
Review URL: https://codereview.chromium.org//11956021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17229 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 18:29:00 +00:00
amouravski@google.com
722cde16a7
Remove more classes and members by making them private.
...
Review URL: https://codereview.chromium.org//11934004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17175 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:58:58 +00:00
blois@google.com
b97af1c4f3
Adding support for the MouseWheel event in Streams.
...
In order to test this I also needed to add a constructor for the MouseWheel event, which complicated things.
In general, wheel events are incredibly fragmented across browsers.
BUG=7919
Review URL: https://codereview.chromium.org//11931009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17172 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:06:35 +00:00
efortuna@google.com
e1109ed077
Detect if webkitNotifications is available and remove webkit prefix (replaced
...
with "experimental").
BUG=
Review URL: https://codereview.chromium.org//11883025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17105 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 23:54:58 +00:00
amouravski@google.com
c9e8cbc1d1
Removing HTML elements by making them private.
...
Review URL: https://codereview.chromium.org//11880036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17099 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:32:55 +00:00
blois@google.com
d3b9ed080e
Removing the exclusion of all NamedNodeMap members as they were being used.
...
I opened bug http://code.google.com/p/dart/issues/detail?id=7916 to make NamedNodeMap internal.
BUG=
Review URL: https://codereview.chromium.org//11855014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17097 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:57:30 +00:00
blois@google.com
1ebf1939d8
Changing htmlrenamer to use DOM names rather than Dart names.
...
A number of issues-
- Changed entries to be keyed off of DOM names (like the rest of our lists)
- Fixed up incorrectly named entries (a couple of typos in member names)
- Added support for the Class.* catch-all. Cases were using it, but it wasn't actually supported.
- Fixed up static const members not being suppressed
- Removed entries which are no longer occurring (after validating that they are correct).
- Added logging to help keep the lists up to date.
BUG=
Review URL: https://codereview.chromium.org//11875028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17093 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 21:04:10 +00:00
blois@google.com
a152bc270c
Adding support checks for FileSystem APIs and making APIs not webkit-specific.
...
This is an updated version of https://codereview.chromium.org/11856014/ which was failing because the test was causing a timeout when file APIs are not supported.
The first patch is the original, second is the updated version.
BUG=
Review URL: https://codereview.chromium.org//11888013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17037 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 23:53:22 +00:00
blois@google.com
fa191811a7
Revert "Adding support checks for FileSystem APIs and making APIs not webkit-specific."
...
This reverts commit 16987.
TBR=efortuna
BUG=
Review URL: https://codereview.chromium.org//11881007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16995 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:56:13 +00:00
blois@google.com
638568dc80
Adding support checks for FileSystem APIs and making APIs not webkit-specific.
...
BUG=
Review URL: https://codereview.chromium.org//11856014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16987 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 21:48:27 +00:00
amouravski@google.com
bfb624a5a9
Reverted https://codereview.chromium.org/11734022
...
Review URL: https://codereview.chromium.org//11783102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16933 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 21:11:18 +00:00
amouravski@google.com
81f2d3d70a
Fixed build break. Oops.
...
Review URL: https://codereview.chromium.org//11821058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16931 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 18:39:55 +00:00
amouravski@google.com
acb7073519
Added simple functionality to remove interfaces from HTML lib.
...
Includes one example removed interface for good measure.
Review URL: https://codereview.chromium.org//11734022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 18:21:56 +00:00
blois@google.com
12dbb6aa18
Fixing Element.matches to be cross-platform and follow latest spec.
...
BUG=4401
Review URL: https://codereview.chromium.org//11665030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16829 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 01:30:44 +00:00
amouravski@google.com
e6cbc6ef77
Removed all the deprecated attributes.
...
Review URL: https://codereview.chromium.org//11761024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16618 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 22:52:59 +00:00
amouravski@google.com
4b6a0d9a8e
Sorted htmlrenamer.
...
Review URL: https://codereview.chromium.org//11734024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16616 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 22:35:14 +00:00
blois@google.com
eb74d2868d
- Adding supported flags to web components types
...
- Adding support annotations to web components types
- Removed webkit prefix from Element.createShadowRoot
BUG=
Review URL: https://codereview.chromium.org//11748003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16594 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 02:25:17 +00:00
efortuna@google.com
01fb2bbc86
Moved most of html lib generating scripts into tools.
...
BUG=
Review URL: https://codereview.chromium.org//11691009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16557 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 22:26:48 +00:00