Attempt to fix timeout failure of test plugins/navigator-plugin-crash.html in WebKit1
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 May 2017 22:43:22 +0000 (22:43 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 May 2017 22:43:22 +0000 (22:43 +0000)
commit440c2b3fe41d7b410cfadcdf0181fb66b700fc53
tree92ee33074b1b3f63cbae896d2d1efd5ad1c623bd
parent3071ff0d6bbc20192fc62a2ffd7e2f21ac911e9c
Attempt to fix timeout failure of test plugins/navigator-plugin-crash.html in WebKit1
following <http://trac.webkit.org/changeset/216789>
(https://bugs.webkit.org/show_bug.cgi?id=171712)

On WebKit1 we need to explicitly allow the test tool to open windows by calling
testRunner.setCanOpenWindows(). We should also call testRunner.setCloseRemainingWindowsWhenComplete(true)
to have the test tool close any open windows after running the test.

It is also good practice to explicitly disable the popup blocker by calling
testRunner.setPopupBlockingEnabled(true);.

* plugins/navigator-plugin-crash.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@216798 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/plugins/navigator-plugin-crash.html