[Webkit-unassigned] [Bug 61343] New: [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 23 22:30:14 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61343

           Summary: [Qt] JSC bridge: implement __qt_sender__ without using
                    Scope Chain
           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


When JS functions are called as result of signal emission, one can evaluate __qt_sender__ to obtain the object that emitted the signal. This is similar as QObject::sender() function.

To implement that the current bridge code manipulates the Scope Chain to add a new node with '__qt_sender__' inside. Oliver pointed out that there are problems with this implementation, and it breaks internal assumptions about scope chain that JSC can use for optimizations.

-- 
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