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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-controller.html

Issue 1859343002: ServiceWorker: Remove iframes explicitly after a test is finished (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-controller.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-controller.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-controller.html
index fc05f7763f5914fe733b6a04dead432d58a374ff..c43dc0b6c04d4bb68ebed6c4088a55792b7e4c3c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-controller.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/unregister-controller.html
@@ -18,7 +18,7 @@ async_test(function(t) {
return wait_for_state(t, r.installing, 'activated');
})
.then(function() {
- return with_iframe(scope);
+ return with_iframe(scope, true);
})
.then(function(frame) {
frame_window = frame.contentWindow;
@@ -55,7 +55,7 @@ async_test(function(t) {
return registration.unregister();
})
.then(function() {
- return with_iframe(scope);
+ return with_iframe(scope, true);
})
.then(function(frame) {
var frame_window = frame.contentWindow;
@@ -82,13 +82,13 @@ async_test(function(t) {
return wait_for_state(t, r.installing, 'activated');
})
.then(function() {
- return with_iframe(scope);
+ return with_iframe(scope, true);
})
.then(function(frame) {
return registration.unregister();
})
.then(function() {
- return with_iframe(scope);
+ return with_iframe(scope, true);
})
.then(function(frame) {
assert_equals(frame.contentWindow.navigator.serviceWorker.controller,

Powered by Google App Engine
This is Rietveld 408576698