Changeset 134234 in webkit


Ignore:
Timestamp:
Nov 12, 2012 7:26:18 AM (11 years ago)
Author:
jocelyn.turcotte@digia.com
Message:

[Qt] Fix tst_QWebPage::showModalDialog() API test
https://bugs.webkit.org/show_bug.cgi?id=63244

Reviewed by Simon Hausmann.

  • tests/qwebpage/tst_qwebpage.cpp:
Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r134233 r134234  
     12012-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
    1102012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
    211
  • trunk/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp

    r134228 r134234  
    29152915{
    29162916    TestModalPage page;
     2917    page.settings()->setAttribute(QWebSettings::JavascriptCanOpenWindows, true);
    29172918    page.mainFrame()->setHtml(QString("<html></html>"));
    29182919    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);
    29202920    QCOMPARE(res, QString("This is a test"));
    29212921}
Note: See TracChangeset for help on using the changeset viewer.