Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/javascript-dialogs after r214277.
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Mar 2017 14:55:59 +0000 (14:55 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Mar 2017 14:55:59 +0000 (14:55 +0000)
commitdb2bfa2834eb765e0a98446db43b702b441ca284
treeccced0f968c6ce7b845d3721f5a26a87cbcc8259
parentb09b0ac6ef6acd2df8c19a149e0acc8537153f6f
Unreviewed. Fix GTK+ test /webkit2/WebKitWebView/javascript-dialogs after r214277.

Since r214277 beforeunload events are not fired unless there's some user interaction, so we need to simulate it
in our unit tests to work.

* TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp:
(testWebViewJavaScriptDialogs):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@214347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKit2Gtk/TestUIClient.cpp