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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-inscope.html

Issue 1931063004: Stop blocking 'http://127.0.0.1/' as mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ugh. 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/fetch-mixed-content-iframe-inscope-to-inscope.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-inscope.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-inscope.html
index 4ddb528f2dc65d7b31b3f9e6df823a3dded2b9b6..d35b3807b2ef9d48b9ae4b1a6edeba44cab6df1b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-inscope.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-inscope.html
@@ -38,27 +38,13 @@ function test3() {
document.body.appendChild(img);
img.onload = function() {
results += 'FAIL(3)';
- test4();
- };
- img.onerror = function() {
- test4();
- };
- img.src = './dummy?mode=no-cors&url=' +
- encodeURIComponent(host_info['HTTP_ORIGIN'] + image_path);
-}
-
-function test4() {
- var img = document.createElement('img');
- document.body.appendChild(img);
- img.onload = function() {
- results += 'FAIL(4)';
finish();
};
img.onerror = function() {
finish();
};
img.src = './dummy?mode=no-cors&url=' +
- encodeURIComponent(host_info['HTTP_REMOTE_ORIGIN'] + image_path);
+ encodeURIComponent(host_info['UNAUTHENTICATED_ORIGIN'] + image_path);
}
function finish() {

Powered by Google App Engine
This is Rietveld 408576698