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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html

Issue 1403773004: [Service Workers] Follow-up CL for DCHECK from WebServiceWorkerResponse. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/iso-latin1-header.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/iso-latin1-header-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html
index 56f26c4f15e0cd7b0a507119adfa4484125f8d31..f076f180c8b8e2c4325b2aa19686ab707813b9ce 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/iso-latin1-header-iframe.html
@@ -9,7 +9,7 @@ function xhr_send(method, data) {
resolve();
};
xhr.onerror = function() {
- reject('XHR must fail.');
+ reject('XHR must succeed.');
};
xhr.responseType = 'text';
xhr.open(method, './dummy?test', true);
@@ -17,11 +17,11 @@ function xhr_send(method, data) {
});
}
-
window.addEventListener('message', function(evt) {
var port = evt.ports[0];
xhr_send('POST', 'test string')
.then(function() { port.postMessage({results: 'finish'}); })
.catch(function(e) { port.postMessage({results: 'failure:' + e}); });
});
+
</script>
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/serviceworker/iso-latin1-header.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698