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

Unified Diff: chrome/test/data/login/load_iframe_from_b.html

Issue 17738004: Apply cross-origin auth prompt blocking to image resources only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even simpler implementation using load flags. Created 7 years, 6 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/login/load_iframe_from_b.html
diff --git a/chrome/test/data/login/load_iframe_from_b.html b/chrome/test/data/login/load_iframe_from_b.html
new file mode 100644
index 0000000000000000000000000000000000000000..82994c584d3ec5f31e6e3b73f347da37dc32be9c
--- /dev/null
+++ b/chrome/test/data/login/load_iframe_from_b.html
@@ -0,0 +1,14 @@
+<html>
+<body>
+This page will attempt to load an iframe requiring basic auth from the
+domain www.b.com using the same port that it loaded (since we assume www.b.com
+is an alias for this same server).
+
+<script>
+var f = document.createElement("iframe");
+f.src = "http://www.b.com:" + location.port + "/auth-basic/index.html";
+document.body.appendChild(f);
+</script>
+</body>
+</html>
+
« no previous file with comments | « chrome/browser/ui/login/login_prompt_browsertest.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698