OLD | NEW |
(Empty) | |
| 1 <!-- |
| 2 onconnect = function(e) { |
| 3 var xhr = new XMLHttpRequest(); |
| 4 xhr.open('GET', '003-1.py?x=å', false); |
| 5 xhr.send(); |
| 6 var passed = xhr.responseText == 'PASS'; |
| 7 e.ports[0].postMessage(passed); |
| 8 } |
| 9 /* |
| 10 --> |
| 11 <!doctype html> |
| 12 <title>URL encoding, shared worker</title> |
| 13 <script src="/resources/testharness.js"></script> |
| 14 <script src="/resources/testharnessreport.js"></script> |
| 15 <div id=log></div> |
| 16 <script> |
| 17 async_test(function() { |
| 18 var worker = new SharedWorker('#'); |
| 19 worker.port.onmessage = this.step_func(function(e) { |
| 20 assert_true(e.data); |
| 21 this.done(); |
| 22 }); |
| 23 }); |
| 24 </script> |
| 25 <!-- |
| 26 */ |
| 27 //--> |
OLD | NEW |