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

Unified Diff: chrome/test/data/password/autosignin.html

Issue 2447143002: Stop prerendering of a site if it uses the Credential Manager API. (Closed)
Patch Set: rebase Created 4 years, 2 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: chrome/test/data/password/autosignin.html
diff --git a/chrome/test/data/password/autosignin.html b/chrome/test/data/password/autosignin.html
new file mode 100644
index 0000000000000000000000000000000000000000..42d8ba665ee339c1d220f86c700853f79874b9e2
--- /dev/null
+++ b/chrome/test/data/password/autosignin.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<script type="text/javascript">
+window.onload = function() {
+ navigator.credentials.get({password: true})
+ .then(cred => window.location = '/password/done.html');
+}
+</script>
+</head>
+<body>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698