Commit Graph

18 Commits

Author SHA1 Message Date
Terry Lucas bc75856e54 Update getClientRects, removed xtab, removed bogus entry in dom.json,
expose ServiceWorker, removed query and queryAll from in dart:html,
added constructor to MessageChannel and removed getCssCanvasContext.

Fixed all tests using query and queryAll.

Fixes https://github.com/dart-lang/sdk/issues/25664
Fixes https://github.com/dart-lang/sdk/issues/26349
Fixes https://github.com/dart-lang/sdk/issues/32323
Fixes https://github.com/dart-lang/sdk/issues/32659
Fixes https://github.com/dart-lang/sdk/issues/32675

R=kevmoo@google.com

Change-Id: I687471e80b8fe9c7040673113f424dbaab7c64d4
Reviewed-on: https://dart-review.googlesource.com/48381
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-03-27 20:45:33 +00:00
Jacob Richman 2dcd56ef43 Format all tests.
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.

BUG=
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
kevmoo@google.com 4283c3e41e using unittest via package import
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34890 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 19:42:11 +00:00
blois@google.com c7afec7d69 Adding test for removed ShadowDOM layout test.
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23427 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 17:40:32 +00:00
jmesserly@google.com 28c2096ffa use .append instead of .nodes.add
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22652 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-13 20:57:52 +00:00
kustermann@google.com feaf6e95e3 Status updates for Safari - part2
Review URL: https://codereview.chromium.org//12053002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17368 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 19:03:31 +00:00
blois@google.com eb74d2868d - Adding supported flags to web components types
- Adding support annotations to web components types
- Removed webkit prefix from Element.createShadowRoot

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16594 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 02:25:17 +00:00
antonm@google.com 7f865e735f Adjustments to next Chrome roll.
Review URL: https://codereview.chromium.org//11664009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16472 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-24 08:52:19 +00:00
blois@google.com c10434ffb1 Revert "Cleaning up shadow dom tests."
This reverts commit 16291 which had a compilation error (!).

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16292 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 22:08:22 +00:00
blois@google.com 00a552c3d4 Cleaning up shadow dom tests.
Made the standard test check for platform support and expect a failure if not supported.

Made the layout test fail if not supported rather than hang and cleaned up the status file for it.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16291 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-18 21:57:27 +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
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
efortuna@google.com 9163dfe93c revert 1204. Will investigate when I get a chance.
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
rnystrom@google.com 383488ec4f Update unittest to new package layout.
Review URL: https://codereview.chromium.org//10917275

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com 659a57df3e Revert "Make unittest follow the new package layout."
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com 2ba81033a6 Make unittest follow the new package layout.
Review URL: https://codereview.chromium.org//10918240

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
samhop@google.com 9d08d66b7d added preliminary ShadowDOM tests
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//10661039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9141 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 23:16:07 +00:00