Commit Graph

392 Commits

Author SHA1 Message Date
blois@google.com ed44b9285d Splitting SVG types out of dart:html.
Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14808 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 21:15:06 +00:00
floitsch@google.com 8e6f238f86 a === b -> identical(a, b)
Replace === null with == null.

BUG=http://dartbug.com/6380

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
gram@google.com 696ab70006 Update library syntax (tests/html directory).
Review URL: https://codereview.chromium.org//11364181

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14754 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 19:45:02 +00:00
ahe@google.com 80d4a5d788 Skip window_open_test as it causes other tests to fail randomly.
Review URL: https://codereview.chromium.org//11366168

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14723 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 06:45:40 +00:00
blois@google.com f89aca9976 Removing Element.rect.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14720 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-09 01:29:09 +00:00
efortuna@google.com 4a23980c8a Take 2 of splitting html tests into subtests. Had to make two changes to drt to
fully work.
Review URL: https://codereview.chromium.org//11368128

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14703 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 18:54:14 +00:00
efortuna@google.com 868b439bc4 Revert run large html tests individually.
Review URL: https://codereview.chromium.org//11406002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14667 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-08 00:11:09 +00:00
efortuna@google.com 3476d1c528 Run large html tests individually.
Review URL: https://codereview.chromium.org//11293019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14663 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-07 23:42:50 +00:00
efortuna@google.com dc03ca7d97 Rename DOMURL to ObjectUrl.
Review URL: https://codereview.chromium.org//11312091

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14550 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 01:25:02 +00:00
lrn@google.com 2208fcd208 Change NotImplementedException to UnimplementedError.
Retain a NotImplementedException type for backwards compatibility.
This class will be removed soon.
The constructor of UnimplementedError is currently const in order to
support the NotImplementedException. That will be fixed too.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14467 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 13:18:37 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
efortuna@google.com 9198bbc51b Make new audionode names backwards compatible.
Review URL: https://codereview.chromium.org//11358042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14432 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 20:50:58 +00:00
efortuna@google.com a9e83e98ca Set DRT to also fail audiocontext test.
Review URL: https://codereview.chromium.org//11363038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14417 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 16:57:25 +00:00
antonm@google.com 03c73db970 Another test expectation to account for WebKit IDLs roll.
TBR=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14413 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 16:03:59 +00:00
ngeoffray@google.com cd3aceb18a Test also timeouts....
Review URL: https://codereview.chromium.org//11312038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14395 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 11:52:23 +00:00
ngeoffray@google.com 19810e27b0 Update status file with bug number and fix 80 column limit.
Review URL: https://codereview.chromium.org//11362027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14392 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 11:24:48 +00:00
ngeoffray@google.com a943f69b44 Update html status file.
Review URL: https://codereview.chromium.org//11361031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14390 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 10:11:18 +00:00
lrn@google.com 3395a69db1 Update test expectations for dartc/dartium.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14327 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 11:30:29 +00:00
efortuna@google.com c5e480af62 Fix for audiogainnode/gain node naming in current Chrome and Safari.
Review URL: https://codereview.chromium.org//11345038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14310 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 21:12:52 +00:00
ricow@google.com 8c4e614bb7 Update status files for browsers that now pass benchmark_smoke_test and html/fileapi_test
Review URL: https://codereview.chromium.org//11339040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14250 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 09:37:56 +00:00
ricow@google.com 6fa7811c05 Fix html/document_test.dart - this was wrongly refactored in revision 14158.
Review URL: https://codereview.chromium.org//11273076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14192 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 12:30:49 +00:00
ajohnsen@google.com 7e451fc1a4 Move SplayTreeMap from coreimpl to collection.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14178 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-29 09:40:54 +00:00
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
efortuna@google.com f8b54aacd3 Update Opera test status for Windows.
Review URL: https://codereview.chromium.org//11276030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14096 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 20:04:00 +00:00
floitsch@google.com 2e778387b3 Make getKeys, getValues getters (keys, values).
Review URL: https://codereview.chromium.org//11267018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
efortuna@google.com 5df1c2a7ad Enable Opera tests.
Review URL: https://codereview.chromium.org//11271016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14091 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 18:05:43 +00:00
floitsch@google.com 3300f91153 Make first and last getters.
Review URL: https://codereview.chromium.org//11273041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 15:19:31 +00:00
efortuna@google.com 58c63d68ea Set additional tests to flaky.
Review URL: https://codereview.chromium.org//11260027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14057 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 00:45:22 +00:00
efortuna@google.com 9e03e50cf6 Three more test statuses for html in ie10.
Review URL: https://codereview.chromium.org//11264020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14047 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 22:48:25 +00:00
efortuna@google.com e304efa6d6 Update status file for ie10 html tests.
Review URL: https://codereview.chromium.org//11262017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14044 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 22:03:48 +00:00
floitsch@google.com 09f6d09d88 Make isEmpty a getter.
Review URL: https://codereview.chromium.org//11238035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
lrn@google.com e1fdcd6a7b Fix dartium html test.
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14016 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 13:06:32 +00:00
lrn@google.com a083c1a108 Removed IllegalAccessException and UnsupportedOperationException.
Both were converted to StateError.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14012 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:36:10 +00:00
antonm@google.com 5233dfaf73 Make endianness named argument for DataView accessors.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13994 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 07:25:37 +00:00
antonm@google.com 150729af8e As of now reason is a positional argument of expect.
Adjust the test to the harsh reality.

R=podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13942 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 10:27:22 +00:00
antonm@google.com 00ffc1ba5a Start a whitelist of methods those optionals should be treated as named formals in dart:html.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13925 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 08:08:15 +00:00
antonm@google.com 137370942a Force named arguments in constructors.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13833 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 18:45:00 +00:00
sra@google.com 7ee39fa99b Generate contains() method for list mixin only if not already defined.
Review URL: https://codereview.chromium.org//11187063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13828 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-19 17:36:03 +00:00
blois@google.com cf09ea0ef7 Fixing FF/Win build machine.
Tests which were failing on FF but the failures could not be repro'd magically started working.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13761 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 22:41:45 +00:00
efortuna@google.com 739db61e5a Change status of xhr_cross_origin_test for IE
Review URL: https://codereview.chromium.org//11195028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13760 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 21:40:08 +00:00
efortuna@google.com beff9f9724 Unflake-ify xhr_cross_origin_test.
Review URL: https://codereview.chromium.org//11183038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13758 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 20:48:53 +00:00
efortuna@google.com 4839206863 Rename ie to ie9.
Review URL: https://codereview.chromium.org//11184015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13748 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:44:38 +00:00
antonm@google.com e52d6a4077 Modify and enable formerly disabled test.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13747 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:20:39 +00:00
antonm@google.com 3bcf84ca95 Make arguments of MutationObserver named.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13724 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 09:26:30 +00:00
antonm@google.com 46f6cd6d0f Support new named arguments.
R=blois@google.com,efortuna@google.com,podivilov@chromium.org,sra@google.com,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13721 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 08:40:40 +00:00
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