| Index: LayoutTests/push_messaging/push-messaging-resolve-after-detached.html
|
| diff --git a/LayoutTests/push_messaging/push-messaging-resolve-after-detached.html b/LayoutTests/push_messaging/push-messaging-resolve-after-detached.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a41e22d0934bc092ddfedcf62f2cf8f2b05d411f
|
| --- /dev/null
|
| +++ b/LayoutTests/push_messaging/push-messaging-resolve-after-detached.html
|
| @@ -0,0 +1,28 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script src="../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +description("Test that resolving a promise after the window gets closed does not assert or crash.");
|
| +
|
| +var jsTestIsAsync = true;
|
| +
|
| +function openWindow() {
|
| + window.open('resources/push-messaging-resolve-after-detached.html');
|
| +}
|
| +
|
| +function done() {
|
| + finishJSTest();
|
| +}
|
| +
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.setCanOpenWindows();
|
| + openWindow();
|
| +}
|
| +</script>
|
| +</body>
|
| +</html>
|
| +
|
|
|