Commit Graph

57 Commits

Author SHA1 Message Date
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
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 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 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
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 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 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 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 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 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
blois@google.com 5e5505edf3 Adding supported checks for XsltProcessor.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:34:11 +00:00
blois@google.com 7936da179e Adding supported checks for Element.matches.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17670 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:29:05 +00:00
blois@google.com 01ede06509 Adding supported checks to websql.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17668 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:18: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
amouravski@google.com 87e86c1f8d Second half of HTML json docs. This reads the json file and inserts the docs.
The format should match what was hand-written, but the order of annotations may
have changed. This does not effect anything, but it's worth noting.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17649 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 19:24:25 +00:00
amouravski@google.com 33e91c55be Changed how Experimental annotation works. No longer is a constructor.
Review URL: https://codereview.chromium.org//12041090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17619 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 23:50:59 +00:00
blois@google.com 732d362a32 Adding supported checks for HttpRequestProgressEvent.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17612 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 23:03:14 +00:00
blois@google.com 6ade3fc5c9 Adding test & annotations for popstatevent.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17589 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 18:59:08 +00:00
blois@google.com 51ed22e712 Adding supported flag to HashChangeEvent.
Also had to change the event type of the hashChange event as it is supported everywhere, but the type may or may not be a HashChangeEvent.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17507 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 22:22:28 +00:00
blois@google.com 7834eba896 Removing @DocsEditable from classes we have darttemplates for.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17436 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 00:35:17 +00:00
blois@google.com 299ec70b31 Adding supported checks & test for SpeechRecognition APIs.
This is a re-submission of https://codereview.chromium.org/12026032/, the problem was that Dartium does not allow factory constructors with the same name as members.

Had to rename Event.type constructor to Event.eventType.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17430 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:42:01 +00:00
blois@google.com b0e5d99712 Reverting 17420 "Speech recognition APIs" which broke dartium.
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17427 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:55:12 +00:00
blois@google.com a492a08eb2 Adding supported checks & test for SpeechRecognition APIs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17420 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:41:38 +00:00
blois@google.com 049efc4fe8 Fixing cleanup of dart:html annotation generation.
This is an update of https://codereview.chromium.org/11968047/

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17323 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 22:11:21 +00:00
antonm@google.com 56c3b90f06 Stop generating MutationCallback right way.
R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17290 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 16:35:36 +00:00
blois@google.com bda6df30df Revert "Fixing formatting of dart:html's dart2js annotations."
This reverts commit 11508.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17239 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 22:16:31 +00:00
blois@google.com b6f3ecaa2c Fixing formatting of dart:html's dart2js annotations.
Also unifying formatting of attributes.

BUG=7808

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17238 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 22:12:36 +00:00
antonm@google.com 962da4c790 Add Uint8ClampedArray to the list of typed arrays.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17203 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:34:57 +00:00
amouravski@google.com 9da44d6aed Change /// @docsEditable to @DocsEditable annotation.
Review URL: https://codereview.chromium.org//11970019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17171 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 22:51:43 +00:00
amouravski@google.com 038af964dc Changed @domName annotation in comment to full fledge @DomName annotation.
Review URL: https://codereview.chromium.org//11887006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +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
blois@google.com ce18845e42 Adding support checks for ApplicationCache.
Also fixed it to work on Opera.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17101 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:55:41 +00:00
antonm@google.com 5872442f32 Use proper default values for flags.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17052 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 10:17:27 +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
blois@google.com e28e124ef0 Adding supported checks and flags to window.performance.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16986 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 21:30:23 +00:00