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

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

Issue 2420483004: Revert of Worker: Import "imported/wpt/workers" tests (Closed)
Patch Set: Fix merge error 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/interface-objects/002.worker.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/interface-objects/002.worker.js b/third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/interface-objects/002.worker.js
deleted file mode 100644
index 0f514988bd2c6037ac0346c20f4a01615ed403f4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/interface-objects/002.worker.js
+++ /dev/null
@@ -1,49 +0,0 @@
-importScripts("/resources/testharness.js");
-var unexpected = [
- // https://html.spec.whatwg.org/
- "SharedWorkerGlobalScope",
- "AbstractView",
- "AbstractWorker",
- "ApplicationCache",
- "Location",
- "Navigator",
- "Audio",
- "HTMLCanvasElement",
- "Path",
- "TextMetrics",
- "CanvasProxy",
- "CanvasRenderingContext2D",
- "DrawingStyle",
- "CanvasGradient",
- "CanvasPattern",
- "PopStateEvent",
- "HashChangeEvent",
- "PageTransitionEvent",
- // https://dom.spec.whatwg.org/
- "DOMImplementation",
- // https://streams.spec.whatwg.org/
- "ReadableStreamDefaultReader",
- "ReadableStreamBYOBReader",
- "ReadableStreamDefaultController",
- "ReadableByteStreamController",
- "WritableStreamDefaultWriter",
- "WritableStreamDefaultController",
- // http://w3c.github.io/IndexedDB/
- "IDBEnvironment",
- // https://www.w3.org/TR/2010/NOTE-webdatabase-20101118/
- "Database",
- // https://w3c.github.io/uievents/
- "UIEvent",
- "FocusEvent",
- "MouseEvent",
- "WheelEvent",
- "InputEvent",
- "KeyboardEvent",
- "CompositionEvent",
-];
-for (var i = 0; i < unexpected.length; ++i) {
- test(function () {
- assert_false(unexpected[i] in self);
- }, "The " + unexpected[i] + " interface object should not be exposed.");
-}
-done();

Powered by Google App Engine
This is Rietveld 408576698