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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-outscope.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-outscope.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-outscope.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-outscope.html
index a2c5aec78f832d2c1140db955ae8a5c7c38543d9..dc7c47b3baed5d46d0b3df3c47adedfb4a948c9c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-outscope.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe-inscope-to-outscope.html
@@ -41,30 +41,17 @@ function test3() {
img.onerror = function() {
test4();
};
- img.src = host_info['HTTP_ORIGIN'] + image_path;
+ img.src = host_info['UNAUTHENTICATED_ORIGIN'] + image_path;
}
function test4() {
var img = document.createElement('img');
document.body.appendChild(img);
img.onload = function() {
- results += 'FAIL(4)';
- test5();
- };
- img.onerror = function() {
- test5();
- };
- img.src = host_info['HTTP_REMOTE_ORIGIN'] + image_path;
-}
-
-function test5() {
- var img = document.createElement('img');
- document.body.appendChild(img);
- img.onload = function() {
finish();
};
img.onerror = function() {
- results += 'FAIL(5)';
+ results += 'FAIL(4)';
finish();
};
img.src = './dummy?generate-png';

Powered by Google App Engine
This is Rietveld 408576698