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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/010.html

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 <!--
2 // prevent recursion
3 if ('beenThere' in self) {
4 throw 'undefined stringified to the empty string';
5 }
6 beenThere = true;
7 try {
8 importScripts(undefined);
9 postMessage(got);
10 } catch(ex) {
11 postMessage(String(ex));
12 }
13 /*
14 -->
15 <!doctype html>
16 <title>importScripts(undefined)</title>
17 <script src="/resources/testharness.js"></script>
18 <script src="/resources/testharnessreport.js"></script>
19 <div id="log"></div>
20 <script>
21 async_test(function() {
22 var worker = new Worker('#');
23 worker.onmessage = this.step_func(function(e) {
24 assert_equals(e.data, 'undefined');
25 this.done();
26 })
27 worker.onerror = this.step_func(function(e) {
28 assert_unreached(e.message);
29 });
30 });
31 </script>
32 <!--
33 */
34 //-->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698