Commit Graph

347 Commits

Author SHA1 Message Date
vsm@google.com 186c587a70 Fix test to pass on IE, FF
See http://code.google.com/p/dart/issues/detail?id=5731 for the issue that
was causing this to break.  Not sure if we can work around this in general.
The SOP policy limits are ability to inspect the state of the history.

BUG=5651

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13375 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 21:30:34 +00:00
vsm@google.com 868955d995 Skip inner_frame_test on IE9 (timeout)
TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13369 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 19:00:08 +00:00
blois@google.com 6c093d82a6 Disabling canvasrenderingcontext test on Safari.
The test is working fine on Safari 6, but can't debug it on Safari 5. Will investigate further.

TBR=efortuna
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13366 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 18:38:16 +00:00
blois@google.com 8ad35fa9a6 Refactoring tests to run on Safari.
Basically there was redundancy between canvas_test and canvasrenderingcontext2d test, I removed this redundancy and kept the failing test in canvas_test, which is now essentially empty.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13363 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 17:46:59 +00:00
blois@google.com 845c13e426 Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants.
This is the same as the earlier CL for this, which failed because of dartium build issues which have since been fixed by Anton.

BUG=4592

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13361 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 16:15:23 +00:00
blois@google.com 89266f08a6 Fixing status of element test. I had refactored it so it should pass on all browsers, but missed some Safari and IE cases. I opened bug #5693 to track the remaining work.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13332 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 23:09:36 +00:00
vsm@google.com c40edf6954 Wrap Window in case it's a window from a different page / frame.
I also refactored inner_frame_test to explicitly notify if the subframe tests pass or fail.  This should make them more robust and (if they break) fail quickly instead of timing out.

BUG=1913

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13331 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 23:07:08 +00:00
blois@google.com 06f1665623 Adding synchronous measurement methods to Element. Refactoring unit tests some so element_test passes on all browsers.
Original CL was failing in checked mode because the refactored html/element_test fires multiple mouseWheel event typess to try to validate that the event functions. This causes an assertion elsewhere, which is probably a valid assertion.

I'm not sure how much we get out of this test for mouseWheel, so I don't think it's a big issue to remove it.

BUG=838

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13328 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 22:27:43 +00:00
sra@google.com 8c459f304a Mark html/postmessage_structured_test as Skip (timeout) on IE9
Review URL: https://codereview.chromium.org//11065048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13317 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 20:29:24 +00:00
sra@google.com 5c1a93e251 Convert between Dart and JavaScript SerializedScriptValues on postMessage.
Review URL: https://codereview.chromium.org//11065003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13311 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 19:19:16 +00:00
blois@google.com caa43082d6 Fixes to get SelectElement working properly on IE.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13307 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 18:13:13 +00:00
podivilov@google.com b82b302e4b FormData is FormData in all browsers.
R=antonm@google.com,vsm@google.com
BUG=5681

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13306 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 17:27:43 +00:00
blois@google.com bc5a9328bb Fixing SelectElement.selectedOptions to work on all platforms.
This is a fixup of the original CL which broke dartium because I mistakenly applied the polyfill to both dart2js and dartium.

Fix was to move impl_SelectElement.darttemplate to dart2js.

BUG=4503

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13304 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 17:03:28 +00:00
podivilov@google.com 9e8ba672c8 Mark form_data_test as failing in dart2js.
TBR=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13303 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 16:29:47 +00:00
podivilov@google.com 0c66fddbd1 Update html.status after fixing bug 5657.
TBR=antonm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13299 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 15:52:01 +00:00
sra@google.com d4bc3be9f9 Update indexeddb tests to work with both methods of upgrading a database.
The 'unpgradeNeeded' method is standard and supported by FireFox and Chrome tip.
The 'setVersions' method will be needed until Chrome Stable is Chrome 24.

The tests work locally for FireFox 15 provided they are run from a http:// URL. Running from a file:// URL disables IndexedDB for security reasons.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13271 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 04:24:39 +00:00
efortuna@google.com 3446538e29 Change audiocontext_test status.
Review URL: https://codereview.chromium.org//11029035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13265 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:57:37 +00:00
vsm@google.com 90fe8133cb Update status
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13256 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 19:54:59 +00:00
antonm@google.com fa3dba72b2 Override CSSStyleDeclaration.getPropertyValue in general way.
Hide actual implementation and check returned value.

R=efortuna@google.com
BUG=5617

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13253 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:38:43 +00:00
vsm@google.com a1d9180d98 New cross frame base types.
Local types (LocalWindow, LocalLocation, LocalHistory) now subtype the corresponding "safe" base type.  The _CrossFrameImpl classes implement the safe types.

This also fills out Location and History for dart2js.

Note for dart2js, I still need to trap returned windows.  That's a separate bug.

BUG=3836

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13252 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:16:03 +00:00
blois@google.com 14db66f26c Revert "Adding synchronous measurement methods to Element."
This reverts commit 13246 as html/element_test is breaking on dartium.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13251 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 18:09:50 +00:00
blois@google.com 6ec1dff0db Adding synchronous measurement methods to Element.
I also did some refactoring unit tests some so element_test passes on all browsers- it seems quite bad that element_test was expected to fail on so many configurations. Ideally this gets refactored further when our browser support gets flushed out further.

BUG=838

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13246 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 17:42:06 +00:00
blois@google.com 4198b9d3a8 Revert "Fixing SelectElement.selectedOptions to work across all platforms."
This reverts commit #13239 because it breaks the dartium build.

TBR=vsm
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13242 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 16:16:51 +00:00
blois@google.com 25f67482f2 Fixing SelectElement.selectedOptions to work across all platforms.
BUG=4503

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13239 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 16:10:12 +00:00
ahe@google.com fdab408568 Disable test that depends on https://code.google.com/ being available.
Review URL: https://codereview.chromium.org//11027028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13236 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 15:22:56 +00:00
blois@google.com 3adec4eb73 Fixing up window.applicationCache and updating status files.
BUG=4949

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13204 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 23:06:29 +00:00
efortuna@google.com bffc05a1b1 CSSStyleDeclaration.getPropertyValue returns empty string instead of null.
Review URL: https://codereview.chromium.org//11047008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13189 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 18:05:41 +00:00
blois@google.com f36360ec8b Converting NodeList to List<Node>.
This keeps the NodeList class because other classes depend on it (notably RadioNodeList), but converts all APIs over to List<Node>.

BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13188 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 17:47:48 +00:00
efortuna@google.com a6efb0872e Provide a fallback for AudioBufferSourceNode.start to noteOn and stop to
noteOff.
Review URL: https://codereview.chromium.org//11043013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13156 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 00:49:37 +00:00
vsm@google.com 2de1699d70 Fix the type on a wrapped window
Review URL: https://codereview.chromium.org//10985089

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13141 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 21:30:03 +00:00
efortuna@google.com 2e1220541b Missed a change in the rename from initCustomEvent -> $dom_initCustomEvent.
Review URL: https://codereview.chromium.org//11028018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13134 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 20:17:49 +00:00
blois@google.com 1919b5a3ad Removing ElementList.
This includes fixes to make it work properly on Dartium checked (_ChildrenElementList.filter and _FrozenElementList.filter no longer use typed lists).

BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13133 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 19:51:08 +00:00
efortuna@google.com d44e51fb59 Revert r13127.
TBR.
Review URL: https://codereview.chromium.org//11036024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13129 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 17:48:08 +00:00
efortuna@google.com 047bf6ac9a Add constructor for CustomEvent.
Review URL: https://codereview.chromium.org//11030012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13127 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 17:16:13 +00:00
blois@google.com c6c2918caf Revert "Removing ElementList (splitting out removing NodeList into a separate CL)."
This reverts commit 13076 because of issues with queryAll in checked mode.

TBR=vsm
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13083 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 19:03:57 +00:00
blois@google.com 2d71772ff0 Removing ElementList (splitting out removing NodeList into a separate CL).
BUG=2712

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13076 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 17:52:52 +00:00
efortuna@google.com e1a541d3d3 datalistelement_test seems to be flaky on Safari 5.1 (and/or there is no
environment to test it.)
TBR
Review URL: https://codereview.chromium.org//11008007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13048 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-29 00:04:00 +00:00
efortuna@google.com d44717fe4f Fix up Safari html test status for Snow Leopard.
TBR=vsm
Review URL: https://codereview.chromium.org//11015002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13045 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 23:06:21 +00:00
efortuna@google.com 0438c7a1db Triage Safari html test failures.
Review URL: https://codereview.chromium.org//11010002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13043 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 22:50:04 +00:00
blois@google.com f8e524535e Adding 'supported' check for shadow root.
This fixes the case for JS, but still throws for Dartium, I'll pass this onto Anton to fix the Dartium case to not throw.

BUG=5537

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12986 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 23:17:54 +00:00
blois@google.com 9cfdc2dddc Revert "Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants."
This reverts commit 12972 because it was failing in dartium.

TBR=vsm
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12973 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 17:13:35 +00:00
blois@google.com ab684728a8 Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants.
Original CL failed because:
Additional tests were marked as fail because they used the broken behavior. I've fixed these tests and removed their exclusions.

Argument types were mismatched, causing Dartium to fail.

BUG=4592

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12972 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 16:39:36 +00:00
blois@google.com adcd66064b Revert "Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants."
This reverts commit 10979029.

This broke dartium (not sure why) and canvas_test, which actually relied on the broken behavior.

TBR=vsm
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12936 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 22:59:49 +00:00
blois@google.com 539fb987b1 Replacing non-portable CanvasRenderingContext.setFillColor with more portable variants.
BUG=4594

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12935 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 22:37:35 +00:00
vsm@google.com 7488109fc1 Revert "Roll IDL to multivm@910"
This change is breaking Safari and Chrome bots.  Investigating.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12931 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 21:05:04 +00:00
vsm@google.com c9d56a6967 Roll IDL to multivm@910
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12927 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 20:47:57 +00:00
efortuna@google.com 192ca09005 webkitRequestAimationFrame->requestAnimationFrame with hand edits to
html_dartium.
Review URL: https://codereview.chromium.org//10990061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12926 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 18:39:53 +00:00
jmesserly@google.com b935f8f03e "Reverting 12887"
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12892 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 01:28:35 +00:00
vsm@google.com cb0166ae6a Fix status
I marked this test fix earlier today - but apparently it's only passing on Linux.  It's likely the same issue as js_interop_2.  Will investigate further tomorrow.

TBR=dgrove

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12891 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 01:24:45 +00:00
blois@google.com bf978d4873 Adding constructor to ContentElement.
This is the same CL as http://code.google.com/p/dart/source/detail?r=12852, but changing the test status to pass/fail on Chrome since the test works on very new builds, but fails on the version on the bots.

BUG=3870

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12888 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 00:56:55 +00:00