Commit Graph

827 Commits

Author SHA1 Message Date
antonm@google.com 5ffe8d97f5 Tests now pass after the ugly hack.
TBR=podivlov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22008 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 07:50:38 +00:00
antonm@google.com 12d5e65894 Chrome roll.
TBR=ager@google.com, podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21967 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:02:30 +00:00
kasperl@google.com 892bef1b3c Improve optimization of operations on indexables by using more inferred type information and by disabling inlining of [], []= and length (still optimized but now in the folder).
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21946 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 13:03:36 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
blois@google.com 463e990434 Revert "With the collections deriving from ListBase, we no longer need to implement a number of boiler-plate methods."
This reverts commit http://code.google.com/p/dart/source/detail?r=21848.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21852 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:54:33 +00:00
blois@google.com 3dc436c463 With the collections deriving from ListBase, we no longer need to implement a number of boiler-plate methods.
There are some gotchas with Element and Node lists as they may mutate the list being passed in if it's a nodelist as well, so I'm keeping those unimplemented.

In some cases this may fall back to less efficient operations (such as the WrappedList which no longer forwards every method), but I tried to keep all of the primary cases fast and I believe that these methods would fall back to generic implementations anyways in all cases where we use the classes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21848 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 22:29:05 +00:00
ager@google.com fe09da3bb9 Only mark dom_isolates_test as failing on ie9 and *not* range_checks_test
R=vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21808 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 11:41:04 +00:00
ager@google.com 840c181722 Add ie9 to the list for dom_isolates_test.
R=vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21807 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 11:34:15 +00:00
ager@google.com 1fb6556922 Update status files with new failures
R=vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21805 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 10:51:47 +00:00
ager@google.com 2b1d347342 Post message structured test now passes on FF. We should look into the test to make sure that it actually tests what we want it to test now.
R=antonm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21797 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 09:52:13 +00:00
ager@google.com d98c34fa8f Fix audiocontext test
R=vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21796 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 09:45:00 +00:00
ager@google.com c6e4fa231f Be explicit about where range check test fails. It doesn't fail where ArrayBuffers are not supported (d8 and IE9).
R=antonm@google.com, vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21795 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 09:35:51 +00:00
ager@google.com e0ea9f9ede Fix a couple of issues with dart2js typeddata. Add Uint64List and Int64List from typeddata. They are unimplemented. Mark one test as passing on d8 (because the code doesn't do anything).
R=antonm@google.com, vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21794 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 09:26:56 +00:00
ager@google.com ee0f44baff Update code generator for dartium dart:html with typeddata.
R=antonm@google.com, vsm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21790 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:24:41 +00:00
ager@google.com 7f79491c06 Move to new dart:typeddata types
Mads: if you land this, please rerun go.sh from tools/dom/scripts to regenerate html_dart2js.dart.  I didn't include it here to make this patchable.

Stephen: I still need to run the perf tests we talked about to sanity check.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21789 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:22:51 +00:00
vsm@google.com ca7b684f04 Add Supported class to dart:html
This is only used by typeddata for now.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21717 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 05:54:02 +00:00
kevmoo@j832.com dfd51cba6f svg and json tests: fixing nested test calls
Review URL: https://codereview.chromium.org//14258009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21678 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 16:20:07 +00:00
ricow@google.com 0886c239eb Mark worker_test/functional as flaky crashing on windows in dartium.
Review URL: https://codereview.chromium.org//13871011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21549 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 13:47:46 +00:00
floitsch@google.com 466d6670c1 Refactor Future constructors.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com 759a366cea Remove insertRange.
Review URL: https://codereview.chromium.org//13956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
ajohnsen@google.com 1ef7f83b09 Remove Collection references.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21355 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 12:18:49 +00:00
ajohnsen@google.com 24c200b76c Fix 'collection' tests and co19 dartc/dart2js status files.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21343 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 10:28:29 +00:00
blois@google.com be3389181d Update status of IE10 Transferrables test while I investigate failure.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21288 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 16:02:10 +00:00
lrn@google.com f41508d33b Added new version of reduce.
Removed min/max and uses of min/max.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 08:32:31 +00:00
blois@google.com 8afa069ae4 These APIs were introduced in the CSS DOM 2 spec and have been removed from the CSS DOM 3 spec. We should remove them as well.
http://dev.w3.org/csswg/cssom/#the-cssstyledeclaration-interface

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21121 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 23:25:11 +00:00
efortuna@google.com 5c0ae732b4 Add back localName and improve toString for Html nodes.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21105 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:29:10 +00:00
blois@google.com e9fecb6927 Fixing html/worker_test on IE9
Workers aren't supported on IE9, test should be skipped.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21015 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:38:07 +00:00
blois@google.com ef7bf8964d Removing all Worker-related APIs
Need to revisit these once WebWorkers and Isolates are worked out.

BUG=8932

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21011 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-06 00:05:05 +00:00
efortuna@google.com a46b113afd Make html lists print a nice toString method.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21010 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:53:35 +00:00
efortuna@google.com ae82b45193 Rename context2d to context2D.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21006 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 23:16:48 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
floitsch@google.com fa76e67a52 Update status file.
Review URL: https://codereview.chromium.org//13715003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20989 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:35:45 +00:00
antonm@google.com 115ff4b40b Map enums to strings.
R=blois@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20984 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:00:25 +00:00
floitsch@google.com bef8ebb5f6 Add Iterable.fold (and Stream.fold) which replace reduce.
For now this is just a copy. In a next step we will change the behavior of
`reduce`.

BUG= http://dartbug.com/9536

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
kasperl@google.com 64b13959b7 Fix broken test.
R=erikcorry@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20959 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 11:04:35 +00:00
kustermann@google.com 9be3619dad Disabled the xhr blob test completely, to make it invisible for test.py
Review URL: https://codereview.chromium.org//13450008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20951 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 09:34:09 +00:00
blois@google.com 8a17bb707d Fixing xhr_test on Safari
This group is expected to fail on Safari, but since the test was just disabled it's not failing. So moving the disable code to encompass the group as well.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 22:43:06 +00:00
antonm@google.com 6514936a7a Disable some tests due to Chrome roll.
Those test exercise getters which work now with enums
in Chromium.

TBR=ager@google.com,blois@google.com,podivilov@chromium.org,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20926 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 17:09:24 +00:00
blois@google.com b36ce90a24 Audio context test is timing out on OSX now as well.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20925 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 17:05:20 +00:00
sra@google.com ff887a9abc html.status - ie9 test seems to be flaky
TBR=blois

I'm not sure if the test can run the patching code
nondeterministically or if something else is going on.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20906 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 01:20:41 +00:00
sra@google.com 5bd02ca5c7 ie9 and ie10 test status changes for native interceptors
TBR=blois

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20904 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 23:57:01 +00:00
blois@google.com 70b83973b9 Fixing conversion of null event targets.
BUG=8659

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20888 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 19:59:57 +00:00
lrn@google.com 2cc6ad6965 Stop expecting errors when pausing, resuming or canceling a canceled stream.
Also stop expecting an error if resuming an unpaused stream.
It's better to forgive.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20863 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 14:14:32 +00:00
lrn@google.com 3b13f62170 Remove addLast from List.
The List.addLast method has been deprecated for quite a while.
A recent change removed it from the interface, but left the
implementation in place (which caused some errors from the analyzer).
This removes it completely.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20857 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:52:19 +00:00
blois@google.com 50e1cf4927 Adding web_gl library.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20833 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 00:45:20 +00:00
antonm@google.com 98cd0c54c7 Update test expectations.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20803 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 17:40:56 +00:00
antonm@google.com f0f9c22c26 Do early return before checks below.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20801 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:57:35 +00:00
blois@google.com 6fad216eb7 Expanding WebSocket test
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20797 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:45:09 +00:00
antonm@google.com 85d03b060a Update test expectations.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20795 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 16:41:32 +00:00