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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/post-location-to-opener.html

Issue 2651943002: Block subresource requests whose URLs include credentials. (Closed)
Patch Set: Test. Created 3 years, 9 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: third_party/WebKit/LayoutTests/http/tests/security/resources/post-location-to-opener.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/post-location-to-opener.html b/third_party/WebKit/LayoutTests/http/tests/security/resources/post-location-to-opener.html
new file mode 100644
index 0000000000000000000000000000000000000000..10a38ba9fa9a87054150d3cb227cb12add41cb3a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/post-location-to-opener.html
@@ -0,0 +1,3 @@
+<script>
+ opener.postMessage({ 'location': location.href }, '*');
+</script>

Powered by Google App Engine
This is Rietveld 408576698