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..02260cc0b2e663de7a2ce1926e610dcb7ec7d864 |
--- /dev/null |
+++ b/content/test/data/workers/worker_tls_client_auth.html |
@@ -0,0 +1,25 @@ |
+<html> |
+ |
+<head> |
+<title>Worker TLS Client Auth Test</title> |
+ |
+<script src="worker_utils.js"></script> |
+ |
+<script> |
+ |
+// TODO(davidben): When URLSearchParams is stable and implemented, switch this |
+// (and a lot of other test code) to it. https://crbug.com/303152 |
+var url = decodeURIComponent(/url=([^&]*)/.exec(location.search)[1]); |
+var worker = getWorker("worker_common.js"); |
+worker.onmessage = function(ev) { |
+ if (ev.data == "done") |
+ onSuccess(); |
+}; |
+worker.postMessage("tls-client-auth " + url); |
+</script> |
+</head> |
+ |
+<body> |
+<div id=statusPanel></div> |
+</body> |
+</html> |