Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Unified Diff: content/test/data/workers/worker_tls_client_auth.html

Issue 859213006: Cancel client auth requests when not promptable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-auth-cancel-1
Patch Set: mmenke comments Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698