OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 |
| 3 <head> |
| 4 <title>Worker TLS Client Auth Test</title> |
| 5 |
| 6 <script src="worker_utils.js"></script> |
| 7 |
| 8 <script> |
| 9 |
| 10 // TODO(davidben): When URLSearchParams is stable and implemented, switch this |
| 11 // (and a lot of other test code) to it. https://crbug.com/303152 |
| 12 var url = decodeURIComponent(/url=([^&]*)/.exec(location.search)[1]); |
| 13 var worker = getWorker("worker_common.js"); |
| 14 worker.onmessage = function(ev) { |
| 15 if (ev.data == "done") |
| 16 onSuccess(); |
| 17 }; |
| 18 worker.postMessage("tls-client-auth " + url); |
| 19 </script> |
| 20 </head> |
| 21 |
| 22 <body> |
| 23 <div id=statusPanel></div> |
| 24 </body> |
| 25 </html> |
OLD | NEW |