Feature Request: Method to send messages into HTML document
Bug #1339442 reported by
Robert Schroll
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
webbrowser-app |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With QtWebKit, there were two ways to send messages into the HTML document: experimental.
To post a comment you must log in.
There is a messaging API in oxide, but it’s not exposed in the Ubuntu.Web module. You can however import directly "com.canonical. Oxide 1.0" and use that if you need the messaging capabilities.
There is currently no documentation, but the oxide unit tests contain examples, see e.g. http:// bazaar. launchpad. net/~oxide- developers/ oxide/oxide. trunk/view/ head:/qt/ tests/qmltests/ api/tst_ ScriptMessageRe quest.qml and http:// bazaar. launchpad. net/~oxide- developers/ oxide/oxide. trunk/view/ head:/qt/ tests/qmltests/ TestUtilsSlave. js.