Chromium Code Reviews| Index: content/test/data/workers/worker_tls_client_auth.html |
| diff --git a/content/test/data/workers/worker_tls_client_auth.html b/content/test/data/workers/worker_tls_client_auth.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..575545ddcd63c40a3f7a9e7e62ffa6ad5c594b32 |
| --- /dev/null |
| +++ b/content/test/data/workers/worker_tls_client_auth.html |
| @@ -0,0 +1,23 @@ |
| +<html> |
| + |
| +<head> |
| +<title>Worker TLS Client Auth Test</title> |
| + |
| +<script src="worker_utils.js"></script> |
| + |
| +<script> |
| + |
| +var url = decodeURIComponent(/url=([^;]*)/.exec(location.search)[1]); |
|
mmenke
2015/02/17 19:50:14
The tests really use ";" and not "&" to separate a
davidben
2015/02/18 22:31:45
Switched it to & since that's a bit more standard.
|
| +var worker = getWorker("worker_common.js"); |
| +worker.onmessage = function(ev) { |
| + if (ev.data == "done") |
| + onSuccess(); |
| +}; |
| +worker.postMessage("tls-client-auth " + url); |
|
mmenke
2015/02/17 19:50:14
Could we have some comments here... "tls-client-au
davidben
2015/02/18 22:31:45
Hrm? It's in worker_common.js. I added it.
https:
mmenke
2015/02/19 21:24:35
Oops...Forgot to remove that comment once I found
|
| +</script> |
| +</head> |
| + |
| +<body> |
| +<div id=statusPanel></div> |
|
mmenke
2015/02/17 19:50:14
Per HTML style guide, names should be all lower ca
davidben
2015/02/18 22:31:45
I copied it from a different file. Unfortunately t
|
| +</body> |
| +</html> |