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
9b61abf6ee
Adding types to dart:html's dartium files where possible.
...
We were omitting parameter types more often than we should have been.
BUG=7529
Review URL: https://codereview.chromium.org//11644103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17098 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 22:28:51 +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
amouravski@google.com
7291e60d30
Removing dependency on dart binary from go.sh.
...
This at the same time kills all of the generated HTML lib documentation.
This documentation will be restored when the new HTML JSON docs are done.
ETA: 2 weeks
Review URL: https://codereview.chromium.org//11914004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17086 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 20:06:45 +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
e723b69be9
Fixes for a number of dart analyzer issues in dart:html.
...
These are mostly just adding missing methods fixing a few typos from the experimental merge.
BUG=
Review URL: https://codereview.chromium.org//11817059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17035 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 23:36:14 +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
efortuna@google.com
4622dc3e76
Make browser tests all run from a server instead of the local filesystem.
...
BUG=
Review URL: https://codereview.chromium.org//11810004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17007 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:11:07 +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
blois@google.com
8523bcfcf8
Adding supported checks for getCssCanvasContext.
...
This originally broke Dartium because of a typo in the support check, fixing.
First patch is the original, second is the fix.
BUG=
Review URL: https://codereview.chromium.org//11846003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16978 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 17:39:49 +00:00
blois@google.com
d1bdb81d08
Revert "Adding supported checks for getCssCanvasContext."
...
This reverts commit 16947, it has an error on Dartium.
TBR=efortuna
BUG=
Review URL: https://codereview.chromium.org//11847004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16948 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 02:10:10 +00:00
blois@google.com
028cb5c4fa
Adding supported checks for getCssCanvasContext.
...
BUG=
Review URL: https://codereview.chromium.org//11823035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16947 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 01:39:17 +00:00
blois@google.com
9dc76bccbe
Updating IDL for WebSocket to cover latest IDL updates.
...
Previously the IDL only had one send function, now they've added the missing ones.
This fixes a browser compat issue and an analyzer issue.
BUG=
Review URL: https://codereview.chromium.org//11828062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16946 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 01:28:34 +00:00
amouravski@google.com
ba1f89e2b0
Fix for go.sh breaking because the dart binary in /testing hasn't been updated.
...
Review URL: https://codereview.chromium.org//11825012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16937 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 22:54:16 +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
vsm@google.com
24db24cd7c
Implement port equality on SendPortSync
...
This should fix https://github.com/dart-lang/js-interop/issues/37
Review URL: https://codereview.chromium.org//11824053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16932 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 19:18:53 +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
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
antonm@google.com
4598eaead3
No need in require_v8_scope flag any more.
...
R=podivilov@chromium.org
Review URL: https://codereview.chromium.org//11819034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16913 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 11:24:26 +00:00
ngeoffray@google.com
e05cedaddb
Cleanup the isolate library to pave the way for web worker support.
...
Review URL: https://codereview.chromium.org//11778064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16911 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 10:45:43 +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
ager@google.com
75c8f427cc
Update remaining usages of Completer.completeException.
...
R=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//11827017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16840 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 09:29:39 +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
a014168309
Type check fixes for Dartium tests.
...
Note: I'm seeing the following in checked mode:
FAIL Expectation: queryAll-where. Caught type 'WhereIterable<Element>' is not a subtype of type 'Iterable<CanvasElement>' of 'canvases'.
I only fixed what's necessary to get the tests green (I hope), but
perhaps other allocation sites should be fixed to remove the generic.
Review URL: https://codereview.chromium.org//11788023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16773 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 00:40:18 +00:00
blois@google.com
247816a253
Fixing SelectElement.options to return a read-only list.
...
This got lost in the new collections change.
BUG=
Review URL: https://codereview.chromium.org//11783017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16753 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 21:45:01 +00:00
blois@google.com
54922dcc9e
This was causing the number of items returned from document.query to be shortened.
...
Unfortunately I had to manually edit the file, so plenty of whitespace changes.
BUG=
Review URL: https://codereview.chromium.org//11794031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16748 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 20:29:53 +00:00
floitsch@google.com
acc2c51502
Fix FrozenElementListIterator.
...
Review URL: https://codereview.chromium.org//11779024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16726 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 16:37:35 +00:00
floitsch@google.com
4a7dfd2da3
Big merge from experimental to bleeding edge.
...
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
efortuna@google.com
274ac61643
Reverting everything because package root + dartium is causing serious problems.
...
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.
Review URL: https://codereview.chromium.org//11800002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com
1d3b0c4b3b
Add cross-origin test with credentials. I modified the test framework slightly
...
as well to Enable Cross-origin requests while testing from local files.
BUG=
Review URL: https://codereview.chromium.org//11641005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 02:43:31 +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
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
blois@google.com
910e7b04fb
Fixing up history test to pass properly on supported platforms.
...
The primary problem was that on some browsers the state change doesn't take effect until the popState event has been called, so I added a check for that.
Also added a support flag for IE9.
BUG=
Review URL: https://codereview.chromium.org//11697011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16562 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 23:23:00 +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