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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/005.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 var x;
3 var y;
4 try {
5 importScripts('data:text/javascript,x={',
6 'data:text/javascript,}');
7 } catch(e) {
8 y = true;
9 }
10 postMessage([x, y]);
11 /*
12 -->
13 <!doctype html>
14 <title>importScripts separate scripts</title>
15 <script src="/resources/testharness.js"></script>
16 <script src="/resources/testharnessreport.js"></script>
17 <div id="log"></div>
18 <script>
19 async_test(function() {
20 var worker = new Worker('#');
21 worker.onmessage = this.step_func(function(e) {
22 assert_equals(e.data[0], undefined);
23 assert_true(e.data[1]);
24 this.done();
25 });
26 });
27 </script>
28 <!--
29 */
30 //-->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698