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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerUtils/importScripts/003.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 var x = 'a';
3 try {
4 importScripts('data:text/javascript,x+="b"',
5 'data:text/javascript,x+="c"');
6 } catch(e) {
7 x += "d"
8 }
9 postMessage(x);
10 /*
11 -->
12 <!doctype html>
13 <title>importScripts running scripts</title>
14 <script src="/resources/testharness.js"></script>
15 <script src="/resources/testharnessreport.js"></script>
16 <div id="log"></div>
17 <script>
18 async_test(function() {
19 var worker = new Worker('#');
20 worker.onmessage = this.step_func(function(e) {
21 assert_equals(e.data, "abc");
22 this.done();
23 });
24 });
25 </script>
26 <!--
27 */
28 //-->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698