[Webkit-unassigned] [Bug 58674] New: JSC InjectedScriptHost::nodeAsScriptValue should take JSLock before possible JavaScript Allocations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 15 10:53:00 PDT 2011


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

           Summary: JSC InjectedScriptHost::nodeAsScriptValue should take
                    JSLock before possible JavaScript Allocations
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: ddkilzer at webkit.org


Possible JavaScript Allocation in the toJS call so we should take the JSLock beforehand:

      ScriptValue InjectedScriptHost::nodeAsScriptValue(ScriptState* state, Node* node)
      {
          return ScriptValue(state->globalData(), toJS(state, node));
      }

Path to follow.

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