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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/interface-objects.html

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/constructors/SharedWorker/interface-objects.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/interface-objects.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/interface-objects.html
deleted file mode 100644
index e91b2dc6a8c61f0f050ecafdca7c2411116ab89d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/wpt/workers/constructors/SharedWorker/interface-objects.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!--
-var prt;
-function handleCall(e) {
- var log = [];
- for (var i = 0; i < e.data.length; ++i) {
- if (!(e.data[i] in self))
- log.push(e.data[i]);
- }
- prt.postMessage('These were missing: '+log.join(', '));
-}
-onconnect = function(e) {
- prt = e.ports[0];
- prt.onmessage = handleCall;
-};
-/*
--->
-<!doctype html>
-<title>expected interface objects/constructors</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-(async_test()).step(function() {
- var expected = 'XMLHttpRequest WebSocket EventSource MessageChannel Worker SharedWorker ApplicationCache'.split(' ');
- var supported = [];
- for (var i = 0; i < expected.length; ++i) {
- if (expected[i] in window)
- supported.push(expected[i]);
- }
- var worker = new SharedWorker('#');
- worker.port.start();
- worker.port.postMessage(supported);
- worker.port.addEventListener('message', this.step_func(function(e) {
- assert_equals(e.data, '');
- this.done();
- }), false);
-});
-</script>
-<!--
-*/
-//-->

Powered by Google App Engine
This is Rietveld 408576698