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() { |