2011-01-31 No'am Rosenthal <noam.rosenthal@nokia.com>
authornoam.rosenthal@nokia.com <noam.rosenthal@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 04:34:42 +0000 (04:34 +0000)
committernoam.rosenthal@nokia.com <noam.rosenthal@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Feb 2011 04:34:42 +0000 (04:34 +0000)
commit019ceeeb4772829cbfc0788c8d5d36a330169704
tree3a25d13af5a1315a4a3ac4d75fa25b3609ada1b0
parenta236c8f0bf93f5b0e50e048a3ebb8a59dc18c09e
2011-01-31  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QWebElements example from QtWebKit Bridge documentation does not work at all
        https://bugs.webkit.org/show_bug.cgi?id=46748

        This problem disappears when we register QWebElement using qRegisterMetaType, which we now do in QtInstance.
        Added a regression test to tst_QWebFrame.

        * bridge/qt/qt_instance.cpp:
        (JSC::Bindings::QtInstance::QtInstance):
2011-01-31  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] QWebElements example from QtWebKit Bridge documentation does not work at all
        https://bugs.webkit.org/show_bug.cgi?id=46748

        Problem was that we need to register QWebElement's variant-type to Qt's meta type system at some point.
        This wasn't caught by previous tests inside tst_QWebFrame because it only appears when there's also a QWebElement property.
        Added a regression test to tst_QWebFrame.

        * tests/qwebframe/tst_qwebframe.cpp:
        (MyWebElementSlotOnlyObject::doSomethingWithWebElement):
        (MyWebElementSlotOnlyObject::tagName):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@77212 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bridge/qt/qt_instance.cpp
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp