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

Unified Diff: LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html

Issue 201973002: Re-set referrer on issuing a validation request for a cached resource. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Emit header()s first Created 6 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: LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html
diff --git a/LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html b/LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a7993e3e3745931d6f2be236312fd8f23aaa6aa
--- /dev/null
+++ b/LayoutTests/http/tests/cache/resources/subresource-revalidation-referrer-iframe.html
@@ -0,0 +1,9 @@
+<!DOCTYPE HTML>
+<script src="referrer-echo.php" type="text/javascript"></script>
+<script>
+window.onload = function () {
+ if (window.parent)
+ window.parent.iframeLoaded(referrer);
+};
+</script>
+<a href="subresource-revalidation-referrer-iframe.html">Click</a>

Powered by Google App Engine
This is Rietveld 408576698