[Webkit-unassigned] [Bug 67904] New: JS properties assigned to Qt objects are not persistent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 11 01:35:50 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=67904
Summary: JS properties assigned to Qt objects are not
persistent
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tomsheep.cn at gmail.com
There are two QObjects to be injcected to JS context, named "A" and "B", and A is the parent of B.
frame->addToJavaScriptWindowObject(A->objectName(), A);
QString js("A.B.foo = 'bar';");
frame->evaluateJavaScript(js);
The property A.B.foo is not persistent: it is no longer accessible after doing some operations, for example, invoke the web inspector.
--
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