[Webkit-unassigned] [Bug 85827] New: [Qt] [WK2] Allow user to inject JS scripts when the page loads
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 7 14:12:20 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85827
Summary: [Qt] [WK2] Allow user to inject JS scripts when the
page loads
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: Qt, QtTriaged
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cmarcelo at webkit.org
The user of WebView can specify a list of JS scripts that will be loaded in the JS environment of the page. This allow the WebView user to manipulate the DOM. The WebView user can also take advantage of the existing (experimental) messaging feature to communicate between the injected script (that has access to the DOM) and its app environment (usually in QML).
This is related to bug 75099, but with two important simplifications: we inject the scripts in the web page JS environment instead of allowing creation of isolated JS worlds, and the API is simpler.
This feature together with messaging can cover many cases previously handled by manipulating the page via QWebElement directly.
--
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