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

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

Issue 442183003: FetchEvent should not forcibly reject an unresolved Promise when destructed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | LayoutTests/http/tests/serviceworker/resources/fetch-event-test-worker.js » ('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 4571fa0ab6ec869c3af633c4ee46592f936f222e..ff0ff5a35ff20494a601deca712604e600356955 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-event.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-event.html
@@ -121,24 +121,6 @@ var worker = 'resources/fetch-event-test-worker.js';
}());
(function() {
- var t = async_test(
dominicc (has gone to gerrit) 2014/08/07 04:40:18 I think we want to test this, but I can re-add a n
- 'Service Worker responds to fetch event with unresolved promise');
- var scope = 'resources/simple.html?unresolved';
- service_worker_unregister_and_register(t, worker, scope)
- .then(t.step_func(function(sw) {
- return wait_for_state(t, sw, 'activated');
- }))
- .then(t.step_func(function() { return with_iframe(scope); }))
- .then(t.step_func(function(frame) {
- assert_equals(frame.contentDocument.body.textContent,
- 'Here\'s a simple html file.\n',
- 'Response should come from fallback to native fetch');
- return service_worker_unregister_and_done(t, scope);
- }))
- .catch(unreached_rejection(t));
-}());
-
-(function() {
var t = async_test('Service Worker fetches other file in fetch event');
var scope = 'resources/simple.html?fetch';
service_worker_unregister_and_register(t, worker, scope)
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/fetch-event-test-worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698