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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/self.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/interfaces/WorkerGlobalScope/self.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/self.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/self.html
deleted file mode 100644
index 39c2c36c00d1326660bcc5f6c560998f349282cb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/self.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!--
-var results = [];
-function check(func, msg) {
- try {
- results.push([func(), msg]);
- } catch(ex) {
- results.push([String(ex), msg]);
- }
-}
-check(function() { return self === self; }, 'self === self');
-check(function() { return self instanceof WorkerGlobalScope; }, 'self instanceof WorkerGlobalScope');
-check(function() { return 'self' in self; }, '\'self\' in self');
-check(function() {
- var x = self;
- self = 1;
- return x === self;
-}, 'self = 1');
-postMessage(results);
-/*
--->
-<!doctype html>
-<title>self</title>
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<div id="log"></div>
-<script>
-async_test(function() {
- var worker = new Worker('#');
- worker.onmessage = this.step_func(function(e) {
- for (var i = 0; i < e.data.length; ++i) {
- assert_true(e.data[i][0], e.data[i][1]);
- }
- this.done();
- });
-});
-</script>
-<!--
-*/
-//-->

Powered by Google App Engine
This is Rietveld 408576698