WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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
<
http://trac.webkit.org/changeset/84022
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug