I've already submitted the bug at <http://bugreports.qt.nokia.com/browse/QTBUG-13977> but it got closed without a solution. The documentation at http://doc.qt.nokia.com/4.7/qtwebkit-bridge.html tells us: "A signal, slot or property that expects or returns a QWebElement can work seamlessly with JavaScript references to DOM elements." But that does not work in my code. I am attaching a tar file with some minimal example code to reproduce the problem with QT 4.7. This code shows that * the JavaScript function works() can call a slot doSomethingWithString with a QString as an argument, but * the JavaScript function fails() just throws an exception when calling a slot doSomethingWithWebElement with a QWebElement as an argument. The actual JavaScript exception is: TypeError: cannot call doSomethingWithWebElement(): unknown type `QWebElement'
Created attachment 69092 [details] source code to reproduce the bug
Oops, had a bug about this already and I completely missed it. *** This bug has been marked as a duplicate of bug 37319 ***
Reopening, fix for the duplicate bug didn't fix this one :(
Created attachment 80613 [details] Patch
The commit-queue encountered the following flaky tests while processing attachment 80613 [details]: http/tests/xmlhttprequest/cross-origin-no-authorization.html bug 33357 (author: ap@webkit.org) The commit-queue is continuing to process your patch.
Comment on attachment 80613 [details] Patch Clearing flags on attachment: 80613 Committed r77212: <http://trac.webkit.org/changeset/77212>
All reviewed patches have been landed. Closing bug.