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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referrer-policy-iframe.html

Issue 2086143006: Implement Referrer-Policy header for workers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shared worker path Created 4 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: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referrer-policy-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referer-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referrer-policy-iframe.html
similarity index 72%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referer-iframe.html
copy to third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referrer-policy-iframe.html
index 071e084007a1dfc28c06827c59778cbd323995a3..82b5e23570554c95262e099bc0aaf8ccc949b900 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referer-iframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/referrer-policy-iframe.html
@@ -19,18 +19,11 @@ window.addEventListener('message', function(evt) {
var port = evt.ports[0];
check_referer('request-headers.php?ignore=true',
host_info['HTTP_ORIGIN'] +
- '/serviceworker/resources/referer-iframe.html')
- .then(function() {
- return check_referer(
- 'request-headers.php',
- host_info['HTTP_ORIGIN'] +
- '/serviceworker/resources/referer-iframe.html');
- })
+ '/serviceworker/resources/referrer-policy-iframe.html')
.then(function() {
return check_referer(
'request-headers.php?url=request-headers.php',
- host_info['HTTP_ORIGIN'] +
- '/serviceworker/resources/fetch-rewrite-worker.js');
+ host_info['HTTP_ORIGIN'] + '/');
})
.then(function() { port.postMessage({results: 'finish'}); })
.catch(function(e) { port.postMessage({results: 'failure:' + e}); });

Powered by Google App Engine
This is Rietveld 408576698