Commit Graph

219 Commits

Author SHA1 Message Date
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
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 a4977979c4 Adding streams to dart:html.
This exposes all DOM events as streams. This keeps the current DOM event syntax as well, I'd like to make sure this API is stable before deprecating the old syntax, then we'll remove it a while after that.

I made an initial stab at getting the event types correct for the streams, though it's not documented very well and frequently inconsistent between browsers. Hopefully it's close, and I imagine there will be changes to come.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17028 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:19:28 +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
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 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
antonm@google.com 8a23b874b7 Next step in overload dispatcher refactoring.
R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 12:18:21 +00:00
antonm@google.com dae2d52af7 Nuke custom factory providers.
R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16917 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 12:11:59 +00:00
blois@google.com f2684ae979 Adding support checks for WebSocket.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16883 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 21:08:15 +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
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
blois@google.com 84d87ac1e1 Fixing ArrayBuffer et al on IE.
- Added ArrayBuffer.supported check to see if typed arrays are supported.
- Added annotations to ArrayBufferView to indicate platform support.
- Updated tests to check for support.
- Added polyfill for ArrayBuffer.slice to allow more tests to pass.
- Fixed DataView on IE.
- Fixed class annotations not being emitted on Dartium.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16592 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 02:06:00 +00:00
antonm@google.com 91cc0fb62e Start unification of overload dispatcher generation.
Refactor checks generation and share it across backends.

R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16570 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 12:03:02 +00:00
antonm@google.com 2537279745 Generate static factories with optional arguments.
R=blois@google.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16568 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-29 09:42:48 +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