Changeset 134234 in webkit
- Timestamp:
- Nov 12, 2012 7:26:18 AM (11 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/ChangeLog
r134233 r134234 1 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com> 2 3 [Qt] Fix tst_QWebPage::showModalDialog() API test 4 https://bugs.webkit.org/show_bug.cgi?id=63244 5 6 Reviewed by Simon Hausmann. 7 8 * tests/qwebpage/tst_qwebpage.cpp: 9 1 10 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com> 2 11 -
trunk/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp
r134228 r134234 2915 2915 { 2916 2916 TestModalPage page; 2917 page.settings()->setAttribute(QWebSettings::JavascriptCanOpenWindows, true); 2917 2918 page.mainFrame()->setHtml(QString("<html></html>")); 2918 2919 QString res = page.mainFrame()->evaluateJavaScript("window.showModalDialog('javascript:window.returnValue=dialogArguments; window.close();', 'This is a test');").toString(); 2919 QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=63244", Continue);2920 2920 QCOMPARE(res, QString("This is a test")); 2921 2921 }
Note: See TracChangeset
for help on using the changeset viewer.