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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-event.html

Issue 580993002: Revert of [ServivceWorker] Treat rejecting respondWith as a Network Error (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/fetch-event.html
diff --git a/LayoutTests/http/tests/serviceworker/fetch-event.html b/LayoutTests/http/tests/serviceworker/fetch-event.html
index e51dcb1f24fc8025a9bd894c15ca9f5804cae2ef..e7c6bac6e40c2251dc3b2c458cdc661935396c20 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-event.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-event.html
@@ -105,8 +105,8 @@
.then(function() { return with_iframe(scope); })
.then(function(frame) {
assert_equals(frame.contentDocument.body.textContent,
- '',
- 'Response should be a NetworkError');
+ 'Here\'s a simple html file.\n',
+ 'Response should come from fallback to native fetch');
unload_iframe(frame);
return service_worker_unregister_and_done(t, scope);
})
« no previous file with comments | « no previous file | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698