Commit Graph

123 Commits

Author SHA1 Message Date
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
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 7ef9e96865 Added constructor for touchlist.
BUG=

Review URL: https://codereview.chromium.org//12194010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18083 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:49:07 +00:00
antonm@google.com 42671b8291 Allow parsing of enum declarations.
R=sra@google.com

Review URL: https://codereview.chromium.org//12079101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18064 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 19:09:27 +00:00
amouravski@google.com b615b83236 Change the way that events are annotated.
Review URL: https://codereview.chromium.org//12092118

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18053 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 16:04:17 +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
antonm@google.com 044ade317e Better support for vector conversions.
R=podivilov@chromium.org

Review URL: https://codereview.chromium.org//12094060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17981 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 13:50:28 +00:00
amouravski@google.com fcccafdd33 Add even more documentation back to HTML.
Review URL: https://codereview.chromium.org//12093101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17955 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:30:22 +00:00
amouravski@google.com 956d645a0f Can now correctly add documentation to constructors.
Review URL: https://codereview.chromium.org//12087112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:11:31 +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
blois@google.com de9fbf0e90 Renaming dart:html library from 'html' to 'dart.html'
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.

BUG=

Review URL: https://codereview.chromium.org//12061008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +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 8cb540948f Adding supported checks for WebGL
Also fixed the getContext method to have the proper signature (bug 4883).

Also adding an easy accessor for context3d.

Not sure if additional Dartium changes will be needed, Anton?

BUG=

Review URL: https://codereview.chromium.org//12077039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17860 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 17:45:13 +00:00
amouravski@google.com 6095e5065b Split the comment strings in docs extraction on newlines.
Review URL: https://codereview.chromium.org//12090035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17796 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 18:57:42 +00:00
antonm@google.com 8aebefcadf Allow null for optional strings in init event methods.
R=podivilov@chromium.org
BUG=8076

Review URL: https://codereview.chromium.org//12077044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17762 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 14:16:41 +00:00
antonm@google.com 5d50a592a3 Support overloaded constructors.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org

Review URL: https://codereview.chromium.org//12052076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17754 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 12:18:28 +00:00
amouravski@google.com b1946849c6 Readded some more HTML docs!
Review URL: https://codereview.chromium.org//12094003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17738 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 00:28:29 +00:00
blois@google.com ef8128536a Revert "Adding supported checks for Element.matches."
This reverts commit 17670 which is causing problems for IE9.

For some reason IE9 is failing the matches test but passing the supported check. But I cannot repro on my machine.

BUG=

Review URL: https://codereview.chromium.org//12091005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-26 00:34:25 +00:00