[WK1] new http/tests/notifications/legacy/notification-request-permission-then-naviga...
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Dec 2014 18:08:29 +0000 (18:08 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Dec 2014 18:08:29 +0000 (18:08 +0000)
commitaf0a98146b4386b498fbcc9e95a3dbb7e9293b7b
tree3746f58e9576a16a95ed42658ad5fb0e817b6874
parent19ab99b7ead993645e674e3d7a68702940aa0538
[WK1] new http/tests/notifications/legacy/notification-request-permission-then-navigate.html test is crashing
https://bugs.webkit.org/show_bug.cgi?id=139494

Reviewed by Alexey Proskuryakov.

Call window.open() after the page has been loaded because our test infrastructure
asserts that testRunner.waitUntilDone() must have been called *before* window.open()
is called. Since testRunner.waitUntilDone() is called is js-test-post.js, calling
window.open() after page load fixes the issue.

* http/tests/notifications/legacy/notification-request-permission-then-navigate.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@177076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/notifications/legacy/notification-request-permission-then-navigate.html