[Webkit-unassigned] [Bug 46748] New: QWebElements example from QtWebKit Bridge documentation does not work at all

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 28 13:11:40 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46748

           Summary: QWebElements example from QtWebKit Bridge
                    documentation does not work at all
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: twerner at debian.org


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'

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list