Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
similarity index 100% |
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html |
copy to third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
index 76d0e3a433f39e5c24e19c7bc32bf4a292ca5246..56f26c4f15e0cd7b0a507119adfa4484125f8d31 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/invalid-header-iframe.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html |
@@ -6,10 +6,10 @@ function xhr_send(method, data) { |
return new Promise(function(resolve, reject) { |
var xhr = new XMLHttpRequest(); |
xhr.onload = function() { |
- reject('XHR must fail.'); |
+ resolve(); |
}; |
xhr.onerror = function() { |
- resolve(); |
+ reject('XHR must fail.'); |
tyoshino (SeeGerritForStatus)
2015/10/13 05:57:06
fail -> succeed
Pritam Nikam
2015/10/13 08:13:00
Done.
|
}; |
xhr.responseType = 'text'; |
xhr.open(method, './dummy?test', true); |