[Webkit-unassigned] [Bug 56536] New: [Qt] console.log not being exposed to QmlViewer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 16 22:36:01 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56536
Summary: [Qt] console.log not being exposed to QmlViewer
Product: WebKit
Version: 420+
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: damian.jansen at nokia.com
In the QML WebView documentation (http://doc.qt.nokia.com/main-snapshot/qml-webview.html), for the javaScriptWindowObjects property there is the following snippet:
WebView {
javaScriptWindowObjects: QtObject {
WebView.windowObjectName: "qml"
function qmlCall() {
console.log("This call is in QML!");
}
}
html: "<script>console.log(\"This is in WebKit!\"); window.qml.qmlCall();</script>"
}
According to the documentation, the output of this snippet should be:
This is in WebKit!
This call is in QML!
Trying the example in qmlviewer.exe, with a recent git checkout of Qt gives only the second line. The first line "This is in WebKit!" is not being displayed.
Relocated from http://bugreports.qt.nokia.com/browse/QTBUG-15729
--
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