2011-07-05 Rafael Brandao <rafael.lobo@openbossa.org>
authorcommit-queue <commit-queue@webkit.org>
Tue, 5 Jul 2011 19:45:00 +0000 (19:45 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Tue, 5 Jul 2011 20:03:19 +0000 (17:03 -0300)
commitdfe73c30b98223a75f91050ae55ccb87afcf2c73
tree6fa8f5eee74d60920951c46d4ea99f78dd992914
parente3377c07a04becdf42cc9396e6a17047281d4925
2011-07-05  Rafael Brandao  <rafael.lobo@openbossa.org>

        [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
        https://bugs.webkit.org/show_bug.cgi?id=63235

        Modified baseUrl to be a local file in order to get a security origin
        that is allowed to request local resources. Removed QSignalSpy from it
        as loadFinished always happens, and the original test was split into two.

        Reviewed by Benjamin Poulain.

        * tests/qwebframe/tst_qwebframe.cpp:
        (tst_QWebFrame::setHtmlWithImageResource):
        (tst_QWebFrame::setHtmlWithStylesheetResource):
        (tst_QWebFrame::setHtmlWithBaseURL):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp