Commit Graph

693 Commits

Author SHA1 Message Date
karlklose@google.com eafb5e9e80 Emit substitution functions on Object.
BUG=dartbug.com/8635

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19481 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 13:56:44 +00:00
blois@google.com e55825d641 Removing futureTest test method
The functionality has been rolled into test().

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19441 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:11:57 +00:00
blois@google.com 0b9948e832 Further HTML test cleanup
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19423 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 21:44:52 +00:00
blois@google.com 0af748561a Fixing transferable_test
Was marked as failing on FF, skip for dart2js and flaky on dartium.

BUG=8026, 3392

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19410 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 18:34:32 +00:00
blois@google.com fa60fd99d0 Cleaning up html.status
Just separating supported checks from other errors, to try to make it clearer when support changes (should be rare).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19409 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 18:21:53 +00:00
antonm@google.com 9cfe4b0f1f Enable tests.
TBR=blois@google.com
BUG=8836

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19368 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 09:20:48 +00:00
blois@google.com df65842f1f Loosening tolerances for canvas test to pass on IE10.
Not sure why, but occasionally IE10 starts rendering canvases with slightly off colors.

BUG=8678

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19352 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-02 02:40:06 +00:00
blois@google.com e7818fae78 Marking IE10 canvas rendering test as pass to investigate
Appears that canvas on IE10 on test machines runs in lower resolution, trying to stabilize the test.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19351 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-02 02:27:21 +00:00
blois@google.com edb2b3c697 Revert "Revert "Converting dart:html to use DateTime rather than Date.""
Re-submitting change to use DateTime rather than Date.

I'm just disabling the new tests I added since they're failing on Dartium. Opened a bug tracking the Dartium and tests changes.

This means that dates are broken on Dartium, but they were broken everywhere before this change.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19325 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 17:34:40 +00:00
kasperl@google.com db7d683bf4 Revert "Update FF status."
This reverts commit r19279.

TBR'ed.

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19308 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 13:13:51 +00:00
kasperl@google.com fc7f63ec54 Update FF status.
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19279 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 08:39:09 +00:00
blois@google.com 566532c346 Fixing html/indexeddb_5_test status
Had typo.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19253 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 19:17:19 +00:00
floitsch@google.com b56662cb9a Mark indexeddb as flaky.
Review URL: https://codereview.chromium.org//12383027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19251 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 17:47:10 +00:00
kasperl@google.com 5e57a852b6 Improve status file.
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19223 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:41:21 +00:00
kasperl@google.com b4ecc6e823 Re-enable support for --disallow-unsafe-eval.
R=erikcorry@google.com,ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19219 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:21:33 +00:00
blois@google.com d4d1228ce9 Cleaning up the TableElement API
Basically just converting to more proper types for a number of the APIs.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19175 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 21:47:09 +00:00
lrn@google.com 6b4f4b1bab Change new List(n) to return fixed length list.
Deprecate List.fixedLength, add List.filled.

Make Iterable.toList and List.from take "growable" argument,
defaulting to false.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 08:45:04 +00:00
blois@google.com 4698696514 Revert "Converting dart:html to use DateTime rather than Date."
This reverts commit 19107 because it broke Dartium.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19108 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 03:16:01 +00:00
blois@google.com bc54cc3f32 Converting dart:html to use DateTime rather than Date.
We had been exposing JS Date objects as Dart Dates, but it appears to never actually worked. Switched over to DateTime and added a converter for it.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 02:57:31 +00:00
blois@google.com 5f55f994bc Fixing websql test on Dartium checked mode
Had in incorrect value for the future callback in the test.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19063 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 18:23:22 +00:00
blois@google.com 42bf52f2db Fixing WebSQL test for case where it's not supported.
Had an incorrect return type for the unsupported case.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19060 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 17:37:58 +00:00
blois@google.com 70a105d262 Fixing web_sql SqlResultSetRowList row accessor.
Basically the JS generated code is using indexed getters even when they are not available and alternate methods should be used.

BUG=8666

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19055 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 16:59:11 +00:00
blois@google.com d9b1c12f4c Fixing CssStyleDeclaration to not throw exceptions for unsupported values.
Only occurs on IE9, but unsupported values should fail silently.

BUG=8588

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19024 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 00:48:23 +00:00
blois@google.com 0d2c7ea397 Fixing Indexed DB supported check.
The test was incorrectly passing on platforms which do not support IndexedDB.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18998 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 20:59:12 +00:00
blois@google.com bc4f90bd09 Dartifying remainder of Index DB APIs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18992 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 18:59:34 +00:00
blois@google.com ee0477df38 Adding supported checks and annotations to Crypto API.
BUG=8703

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18985 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 17:39:08 +00:00
kustermann@google.com fc81ef88a3 Removed suppressions of tests on chrome
The affected tests are consistently passing after the chrome update to version
25.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18965 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 12:34:10 +00:00
lrn@google.com 3c0ac360e7 Remove deprecated string features.
Make String.codeUnits return a List.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 10:48:09 +00:00
blois@google.com 5b0fea791f Removing DateTimeInputElement.
This has been removed from Chrome and it sounds like it's being removed from the spec.

Chromium bug- https://code.google.com/p/chromium/issues/detail?id=175080

BUG=8709

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18910 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 19:29:20 +00:00
blois@google.com 0f8df99a73 Fixing WheelEvent.deltaMode polyfill after IDL update.
BUG=8713

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18904 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:32:19 +00:00
ager@google.com ddedd31d49 Mark datetime supported test as failing. Support has been removed from chromium.
R=antonm@google.com,blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18888 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 13:15:17 +00:00
ager@google.com 1180a61916 Add test of crypto.getRandomValues.
Implemented this in Dartium and would like a regression test.

I'll update status files with information on the browsers where
this passes when the test looks good to you.

R=blois@google.com,antonm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18872 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 09:41:02 +00:00
kustermann@google.com 25ab512b68 Marked a few html tests as flaky on chrome
Review URL: https://codereview.chromium.org//12326059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18868 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 08:34:40 +00:00
sgjesse@google.com 6136da17e4 Update status file
R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18835 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 14:22:24 +00:00
kustermann@google.com d2c575c0b0 Create generated tests inside the build directory
Patch Set 1 is a revert of r18295.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18802 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 08:10:37 +00:00
blois@google.com 51cd64501d Separating Web SQL into dart:web_sql.
These APIs are essentially deprecated as standardization as ceased for them, but they are also the only DBs available for mobile devices.

Separating out so it's easier to disable later.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18782 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 21:05:24 +00:00
blois@google.com 8595b8bed2 Using an ordered set for Element.classes.
BUG=6946

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18727 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 21:37:32 +00:00
blois@google.com d8265d81a5 Fixing Geolocation on Firefox
For position, Firefox is returning an object which doesn't map nicely, so added a wrapper for that.

Also cleaned up the APIs to make them more dart-friendly.

BUG=7547

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18723 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 21:18:36 +00:00
lrn@google.com 03f5a66836 Recommit changing List.skip/take/revert returns Iterable and remove mappedBy.
This reverts r18591.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18615 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-18 10:35:51 +00:00
rnystrom@google.com 0e0473d33a Unbreak pub:
Revert "Make List.skip, List.take and List.reversed return Iterables, not Lists."

This reverts commit 44c3745a76acfad3d1d5bfc7a8b8c8e2def30e09.

Revert "Remove deprecated mappedBy."

This reverts commit 779ab69eab73e5e349245e99560b18955908e0cc.

BUG=dartbug.com/8560

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18591 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 18:38:42 +00:00
floitsch@google.com 0672317bec Remove deprecated mappedBy.
Committed: https://code.google.com/p/dart/source/detail?r=18575
Reverted: http://code.google.com/p/dart/source/detail?r=18576

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18579 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:57:18 +00:00
floitsch@google.com ad839e6957 Revert "Remove deprecated mappedBy."
This reverts commit 18575.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18576 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:23:22 +00:00
floitsch@google.com b37100770b Remove deprecated mappedBy.
Review URL: https://codereview.chromium.org//12212213

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18575 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:18:17 +00:00
efortuna@google.com d7057b2d8c Reapply setTimeout change.
This CL is identical to 18555. The reason it will  work now is the corresponding
dartium change has been checked in.

TBR-blois

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18562 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 07:40:51 +00:00
kustermann@google.com 6e15e3eff7 Revert "Reapply remove setTimeout, take 3."
Review URL: https://codereview.chromium.org//12207198

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18559 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 04:25:18 +00:00
efortuna@google.com adf0fadd0d Reapply remove setTimeout, take 3.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18555 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:42:13 +00:00
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 8123bf9175 Fixing node.nodes.addAll to accept node lists.
Had two options- change the iterators or do a defensive copy. I believe this is a fairly performance-critical area, so tried to optimize for that.

BUG=6684

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18545 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:07:05 +00:00
efortuna@google.com 2b86a542a3 "Reverting 18531"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18542 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 21:33:33 +00:00
blois@google.com 87867a746c Fixing DOM's EventStream.isBroadcast
BUG=8457

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18541 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 21:30:31 +00:00