| Index: third_party/WebKit/LayoutTests/fast/dom/modal-dialogs-during-microtasks.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/parser/iframe-sets-parent-to-javascript-url.html b/third_party/WebKit/LayoutTests/fast/dom/modal-dialogs-during-microtasks.html
|
| similarity index 51%
|
| copy from third_party/WebKit/LayoutTests/fast/parser/iframe-sets-parent-to-javascript-url.html
|
| copy to third_party/WebKit/LayoutTests/fast/dom/modal-dialogs-during-microtasks.html
|
| index 6846e28356879ab23aef32faa01f5941c65ef449..64c554500d5d8692b393f63390b3b97b2188080b 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/parser/iframe-sets-parent-to-javascript-url.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/modal-dialogs-during-microtasks.html
|
| @@ -1,13 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<p>Passes if no alert() is displayed</p>
|
| <script>
|
| if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| - testRunner.dumpChildFramesAsText();
|
| testRunner.waitUntilDone();
|
| }
|
|
|
| -function done() {
|
| +new Promise(function(res, rej) { res(); }).then(function() {
|
| + alert('this should not be shown');
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| -}
|
| +});
|
| </script>
|
| -<iframe src="resources/set-parent-to-javascript-url.html"></iframe>
|
|
|