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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/interface-objects/001.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 expected = [
3 // https://html.spec.whatwg.org/
4 "WorkerGlobalScope",
5 "DedicatedWorkerGlobalScope",
6 "Worker",
7 "SharedWorker",
8 "MessagePort",
9 "MessageEvent",
10 "WorkerNavigator",
11 "MessageChannel",
12 "WorkerLocation",
13 "ImageData",
14 "ImageBitmap",
15 "CanvasPath",
16 "Path2D",
17 "PromiseRejectionEvent",
18 "EventSource",
19 "WebSocket",
20 "CloseEvent",
21 "BroadcastChannel",
22 // https://tc39.github.io/ecma262/
23 "ArrayBuffer",
24 "Int8Array",
25 "Uint8Array",
26 "Uint8ClampedArray",
27 "Int16Array",
28 "Uint16Array",
29 "Int32Array",
30 "Uint32Array",
31 "Float32Array",
32 "Float64Array",
33 "DataView",
34 // https://xhr.spec.whatwg.org/
35 "XMLHttpRequestEventTarget",
36 "XMLHttpRequestUpload",
37 "XMLHttpRequest",
38 "ProgressEvent",
39 "FormData",
40 // https://url.spec.whatwg.org/
41 "URL",
42 "URLSearchParams",
43 // https://w3c.github.io/FileAPI/
44 "File",
45 "Blob",
46 "FileList",
47 "FileReader",
48 "FileReaderSync",
49 // https://dom.spec.whatwg.org/
50 "EventTarget",
51 "ErrorEvent",
52 "Event",
53 "CustomEvent",
54 // http://heycam.github.io/webidl/
55 "DOMException",
56 // https://streams.spec.whatwg.org/
57 "ReadableStream",
58 "WritableStream",
59 "ByteLengthQueuingStrategy",
60 "CountQueuingStrategy",
61 // http://w3c.github.io/IndexedDB/
62 "IDBRequest",
63 "IDBOpenDBRequest",
64 "IDBVersionChangeEvent",
65 "IDBFactory",
66 "IDBDatabase",
67 "IDBObjectStore",
68 "IDBIndex",
69 "IDBKeyRange",
70 "IDBCursor",
71 "IDBCursorWithValue",
72 "IDBTransaction",
73 ];
74 for (var i = 0; i < expected.length; ++i) {
75 test(function () {
76 assert_own_property(self, expected[i]);
77 }, "The " + expected[i] + " interface object should be exposed.");
78 }
79 done();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698