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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/workers/Worker_cross_origin_security_err.htm

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 <!DOCTYPE html>
2 <title> Worker cross-origin URL </title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id=log></div>
6 <script>
7 async_test(function(t) {
8 try {
9 var w = new Worker("ftp://example.org/support/WorkerBasic.js");
10 w.onerror = t.step_func_done(function(e) {
11 assert_true(e instanceof ErrorEvent);
12 });
13 } catch (e) {
14 t.step_func_done(function(e) { assert_true(true); });
15 }
16 });
17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698