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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces.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 unified diff | Download patch
OLDNEW
(Empty)
1 "use strict";
2
3 importScripts("/resources/testharness.js");
4 importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
5
6 var request = new XMLHttpRequest();
7 request.onload = function() {
8 var idlArray = new IdlArray();
9 var idls = request.responseText;
10 idlArray.add_idls(idls);
11 idlArray.add_objects({
12 DedicatedWorkerGlobalScope: ['self'],
13 WorkerNavigator: ['self.navigator'],
14 WorkerLocation: ['self.location'],
15 });
16 idlArray.test();
17 done();
18 };
19 request.open("GET", "interfaces.idl");
20 request.send();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698