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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/semantics/run-a-worker/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 <!doctype html>
2 <title>handling for 404 response</title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <script>
7 setup({allow_uncaught_exception: true});
8
9 async_test(function() {
10 var worker = new Worker('404_worker');
11 worker.onerror = this.step_func(function(e) { this.done(); });
12 }, 'worker');
13
14 async_test(function() {
15 var shared = new SharedWorker('404_shared');
16 // NOTE: this handler will not fire, as runtime scripting errors
17 // are not forwarded to SharedWorker objects, but instead reported to the user directly.
18 shared.onerror = this.step_func(function(e) { assert_unreached(); }, shared, ' error');
19 step_timeout(this.step_func(function() { this.done(); }), 5000);
20 }, 'shared');
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698