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

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

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> WorkerLocation href attribute </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 var worker = new Worker("./support/WorkerLocation.js?srch%20#hash");
9 worker.onmessage = t.step_func_done(function(e) {
10 var href = location.href;
11 var expected = href.substring(0, href.lastIndexOf('/')) + "/support/WorkerLo cation.js?srch%20#hash";
12 assert_equals(e.data.href, expected);
13 });
14 });
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698