[Qt] QtTestBrowser should provide option to enable/disable Javascript
https://bugs.webkit.org/show_bug.cgi?id=107461

Reviewed by Jocelyn Turcotte.

Option to enable/disable Javascript would be handy option to test
certain functionalities of web pages with/without Javascript.

* QtTestBrowser/launcherwindow.cpp:
(LauncherWindow::createChrome):
(LauncherWindow::toggleJavaScriptEnabled):
* QtTestBrowser/launcherwindow.h:
(LauncherWindow):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142125 268f45cc-cd09-0410-ab3c-d52691b4dbfc