[Webkit-unassigned] [Bug 41995] New: Enable binding QObjects to javascript environment for inspector frontend
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 9 14:52:10 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41995
Summary: Enable binding QObjects to javascript environment for
inspector frontend
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jamey.hicks at nokia.com
Jamey Hicks <jamey.hicks at nokia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #61104| |review?
Flag| |
Created an attachment (id=61104)
--> (https://bugs.webkit.org/attachment.cgi?id=61104)
patch to enable binding QObject to the javascript environment of a QWebInspector
The attached patch enables QObjects to be bound to global variables in the javascript environment of the inspector frontend. This is useful for writing alternate inspector frontends in javascript which need additional native functionality. It's a lighter-weight alternative from using an NPAPI plugin.
The code which instantiates QWebInspector uses this by setting the dynamic property "q_inspector_js_objects" on the QWebInspector. The value of this property should be a QMap<QString,QVariant>mapping global variable name to QObject.
I have used this to add support for eclipse/chrome remote debugging in QtTestBrowser.
--
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