RESOLVED FIXED 58674
JSC InjectedScriptHost::nodeAsScriptValue should take JSLock before possible JavaScript Allocations
https://bugs.webkit.org/show_bug.cgi?id=58674
Summary JSC InjectedScriptHost::nodeAsScriptValue should take JSLock before possible ...
Joseph Pecoraro
Reported 2011-04-15 10:53:00 PDT
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.
Attachments
[PATCH] Proposed Fix (1.37 KB, patch)
2011-04-15 12:34 PDT, Joseph Pecoraro
ddkilzer: review+
Joseph Pecoraro
Comment 1 2011-04-15 12:34:06 PDT
Created attachment 89829 [details] [PATCH] Proposed Fix
David Kilzer (:ddkilzer)
Comment 2 2011-04-15 12:39:16 PDT
Comment on attachment 89829 [details] [PATCH] Proposed Fix r=me
Joseph Pecoraro
Comment 3 2011-04-15 13:02:25 PDT
Note You need to log in before you can comment on or make changes to this bug.