Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/interface-objects/002.worker.js

Issue 2418853003: Worker: Import "imported/wpt/workers" tests (Retry) (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 importScripts("/resources/testharness.js");
2 var unexpected = [
3 // https://html.spec.whatwg.org/
4 "SharedWorkerGlobalScope",
5 "AbstractView",
6 "AbstractWorker",
7 "ApplicationCache",
8 "Location",
9 "Navigator",
10 "Audio",
11 "HTMLCanvasElement",
12 "Path",
13 "TextMetrics",
14 "CanvasProxy",
15 "CanvasRenderingContext2D",
16 "DrawingStyle",
17 "CanvasGradient",
18 "CanvasPattern",
19 "PopStateEvent",
20 "HashChangeEvent",
21 "PageTransitionEvent",
22 // https://dom.spec.whatwg.org/
23 "DOMImplementation",
24 // https://streams.spec.whatwg.org/
25 "ReadableStreamDefaultReader",
26 "ReadableStreamBYOBReader",
27 "ReadableStreamDefaultController",
28 "ReadableByteStreamController",
29 "WritableStreamDefaultWriter",
30 "WritableStreamDefaultController",
31 // http://w3c.github.io/IndexedDB/
32 "IDBEnvironment",
33 // https://www.w3.org/TR/2010/NOTE-webdatabase-20101118/
34 "Database",
35 // https://w3c.github.io/uievents/
36 "UIEvent",
37 "FocusEvent",
38 "MouseEvent",
39 "WheelEvent",
40 "InputEvent",
41 "KeyboardEvent",
42 "CompositionEvent",
43 ];
44 for (var i = 0; i < unexpected.length; ++i) {
45 test(function () {
46 assert_false(unexpected[i] in self);
47 }, "The " + unexpected[i] + " interface object should not be exposed.");
48 }
49 done();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698