Commit Graph

653 Commits

Author SHA1 Message Date
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
blois@google.com 432aa0994c Renaming Element.dataAttributes to Element.dataset.
Element.dataset is the DOM version of the API, so we should have ours named the same.

Opened bug #8545 that we should optimize Element.dataset to use the native functionality if present.

BUG=5963

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18533 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:12:38 +00:00
efortuna@google.com 8da959b722 Reapply remove setInterval.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18531 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 19:08:45 +00:00
blois@google.com b4fa823142 Updating Element.scrollIntoView to be platform independent.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18498 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:40:03 +00:00
efortuna@google.com 3b0c52f47f Reverting setTimeout removal.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18478 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:06:31 +00:00
blois@google.com 8eb3de4f72 Fixing Indexed DB's CursorWithValue.value
CursorWithValue.value was not getting converted from a JS type to a Dart type.

BUG=8254

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18476 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 20:50:12 +00:00
efortuna@google.com 71a32af213 Combine window.setTimeout/setInterval with Timer and Timer.repeating. Also
Stream-and-future-ified some of the Window methods that used to take callbacks.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18475 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 20:32:30 +00:00
blois@google.com da161d6ab1 Sample test for custom elements.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18421 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 00:30:20 +00:00
karlklose@google.com 759bf01d3c Implement substitution for type variables.
Review URL: https://codereview.chromium.org//12218007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18376 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 11:20:50 +00:00
gram@google.com 4a15011669 Skip flaky async window test while cause is investigated.
Review URL: https://codereview.chromium.org//12218105

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18365 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:52:20 +00:00
efortuna@google.com 1a704b41f4 Deflake notifications test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18355 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:28:46 +00:00
blois@google.com fdb7f741e3 Fixing indexed_db test on IE & Safari
This test was incorrectly being skipped earlier and I fixed that with CL https://codereview.chromium.org//12159005, but this test then started failing because it didn't actually throw an exception.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18341 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 21:58:38 +00:00
blois@google.com e780a771d3 Dartifying some IndexedDB APIs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18338 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 21:24:50 +00:00
floitsch@google.com 3f7146707d Rework Timer interface.
Review URL: https://codereview.chromium.org//12213092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18326 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 19:22:16 +00:00
efortuna@google.com 0ea0b1ef63 Allow non-primitive-value dictionaries to be passed to constructors for html
types.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18320 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 18:31:20 +00:00
blois@google.com f123e7bdf6 Bug 7404 is saying that UListElement.append is not working.
It appears to be working correctly everywhere.

BUG=7404

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18292 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 00:49:01 +00:00
blois@google.com 5fbee6d62f Fixes for TransitionEvent changes.
Two changes-
Removed the extends clause for _WebKitTransitionEvent which caused an issues with dartc.
Platform-independent changes for firing the event broke element_test on non-Chrome browsers. This test is actually quite useless.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18278 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 21:47:49 +00:00
blois@google.com d2802398c6 Fixing TransitionEnd event.
A number of related changes-

Bug 8340 is that we previously had WebKitTransitionEnd renamed to TransitionEnd, but had to remove that when Chrome added a new TransitionEnd.

Changes-
- Made WebKitTransitionEnd implement TransitionEnd and made it private.
- Added a test for the TransitionEnd event.
- Fixed the TransitionEnd event not working on non-Chrome browsers.
- Added support check for CSS transitions.
- Added annotations for CSS transition support.

BUG=8340

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18276 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 21:09:21 +00:00
blois@google.com 74909211e7 Adding event type getter to EventStreamProvider.
This makes it easier to dispatch custom events for a particular event.

BUG=8244

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18273 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 20:44:45 +00:00
blois@google.com 15a2c6d91f Re-submit of 12213058 to fix CharacterData.remove
Original was hanging on Dartium as it was missing useHtmlConfiguration in the test.

patch from issue 12213058

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18237 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 23:38:37 +00:00
blois@google.com eed368b8f0 Revert "Fixing CharacterData.remove not working on FireFox."
This reverts commit 18201.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18202 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 01:49:30 +00:00
blois@google.com 72753e01e1 Fixing CharacterData.remove not working on FireFox.
CharacterData was overriding remove, but was not supported on FF, so just removed the override.

BUG=7173

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18201 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 01:13:53 +00:00
blois@google.com 71552dbed4 Fixing some indexed_db tests.
These were broken by the webkit IDL roll, I was able to fix 2 of them but am still trying to figure out what broke on the final one (not sure it's related to the IDL roll).

BUG=8341

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18163 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 02:31:20 +00:00
antonm@google.com 204405ce8d Suppressions due to the recent IDL roll.
TBR=blois@google.com,efortuna@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18143 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 15:31:55 +00:00
blois@google.com 164e568e62 Fixing the status of element_types_test/supported_object on IE.
It should be supported, but was previously failing because of incorrect supported check which was fixed earlier. Updating annotations to match test as well.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18110 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 02:20:45 +00:00
blois@google.com cc0c8e4c31 Fixing element_types_test/supported_object
Typo had it checking meter instead which was masking a FF failure.

BUG=8293

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 01:24:56 +00:00
efortuna@google.com 845e5ac77e Touch list test removal.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18092 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 23:46:29 +00:00
efortuna@google.com 7ef9e96865 Added constructor for touchlist.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18083 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:49:07 +00:00
efortuna@google.com 2c655f469e Revert IDB optional mode parameter.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18080 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 21:41:44 +00:00
efortuna@google.com 024506ac6f Specify named parameters for optional parameter in tests.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18078 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:57:22 +00:00
efortuna@google.com 63e4979413 Make mode argument optional for IDB transaction.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18076 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:44:43 +00:00
floitsch@google.com 47ea3acfe2 Mark microtask_test as flaky on IE9.
Review URL: https://codereview.chromium.org//12197016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18071 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:02:41 +00:00
ngeoffray@google.com 72a7360905 Update status file, and file bug for FF that returns JS functions when calling document.createElement.
Review URL: https://codereview.chromium.org//12184013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18049 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 14:39:35 +00:00
efortuna@google.com ce74c20fdb Add supported checks to the SVG library, and library cleanup.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17994 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:09:11 +00:00
kustermann@google.com 176f0ba635 Marked html/dromaeo_smoke_test as flaky on firefox
Review URL: https://codereview.chromium.org//12087133

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17971 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 12:05:14 +00:00
blois@google.com d34e030459 Fixing xhr_test's responseType test.
The responseType being set was not supported by Dartium or Safari.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17959 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:58:08 +00:00
blois@google.com 12cf82e64a Fixing htm/xhr_cross_origin test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17953 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:06:44 +00:00
blois@google.com 1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
blois@google.com 07200209ab Revert "Adding ease-of-use methods to HttpRequest."
This reverts commit 17942, it broke some pkg tests that I need a few more moments than I have right now to fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17944 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 21:10:46 +00:00
blois@google.com b1cc462093 Adding ease-of-use methods to HttpRequest.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17942 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 20:52:58 +00:00
efortuna@google.com 473bbc0487 "Reverting 17940"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17941 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 19:48:36 +00:00