Index: LayoutTests/http/tests/serviceworker/chromium/resolve-after-window-close.html |
diff --git a/LayoutTests/http/tests/serviceworker/window-close-during-registration.html b/LayoutTests/http/tests/serviceworker/chromium/resolve-after-window-close.html |
similarity index 63% |
copy from LayoutTests/http/tests/serviceworker/window-close-during-registration.html |
copy to LayoutTests/http/tests/serviceworker/chromium/resolve-after-window-close.html |
index 99a8c8d9ab6a6c0d4317e7b679582d2afefba150..76507590dbd10bb45d7c597e603728e5087faad3 100644 |
--- a/LayoutTests/http/tests/serviceworker/window-close-during-registration.html |
+++ b/LayoutTests/http/tests/serviceworker/chromium/resolve-after-window-close.html |
@@ -3,7 +3,7 @@ |
<body> |
<script> |
window.jsTestIsAsync = true; |
-description('Test that closing the window during Service Worker registration does not assert or crash'); |
+description('Test that resolving a promise after the window gets closed does not assert or crash'); |
if (window.testRunner) { |
testRunner.setCanOpenWindows(); |
@@ -13,13 +13,11 @@ if (window.testRunner) { |
} |
function openWindow() { |
- window.open('resources/window-close-during-registration.html'); |
+ window.open('resources/resolve-after-window-close.html'); |
} |
function done() { |
- setTimeout(function() { |
- finishJSTest(); |
- }, 100); |
+ finishJSTest(); |
} |
</script> |
</body> |