Closed
Bug 698378
Opened 12 years ago
Closed 12 years ago
Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
6.45 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #570651 -
Flags: review?(peterv)
Flags: in-testsuite-
Comment 1•12 years ago
|
||
Comment on attachment 570651 [details] [diff] [review] Patch v1 Review of attachment 570651 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/nsJSEnvironment.cpp @@ +1210,5 @@ > } > > + if (!aScopeObject) { > + aScopeObject = JS_GetGlobalObject(mContext); > + } Could we drop this too? I fund 2 callers and both should pass in an object.
Attachment #570651 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Dropped and added some assertions. https://hg.mozilla.org/mozilla-central/rev/9124413a73f8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → mozilla11
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•