Commit Graph

1657 Commits

Author SHA1 Message Date
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
antonm@google.com b90237932f Changes to support Chrome roll.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17194 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 11:45:48 +00:00
efortuna@google.com 4a6c2ca155 Regenerate libs for case sensitive file systems. (Why is mac case
insensitive?!?)

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17181 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 01:33:57 +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 a4fd4b1888 Fixing dartc error about not using ~/ operator and FF test error.
TBR=siggi
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17173 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 23:31:18 +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
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
antonm@google.com 740434e2a3 Move ugly hack out of the loop.
TBR=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17143 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:15:17 +00:00
efortuna@google.com a99e64011f Fix git rebase fail on my part that merged the status files poorly.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17109 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 00:21:42 +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
jmesserly@google.com ab1536427a Fix new Element.html with tables in IE
http://dartbug.com/7902

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17104 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 23:17:34 +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
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