WorkerLocation_hash_encoding.htm (427B)
1 <!DOCTYPE html> 2 <title> WorkerLocation.hash with url encoding string </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#question%3f"); 9 worker.onmessage = t.step_func_done(function(e) { 10 assert_equals(e.data.hash, "#question%3f"); 11 }); 12 }); 13 </script>