Closed
Bug 864046
Opened 12 years ago
Closed 12 years ago
GC: Almost the last rooting fixes in XPConnect
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(2 files, 1 obsolete file)
18.22 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
6.79 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
Sorry for the quantity of review requests. We are nearing the end now.
Here is a patch for reported hazards in:
- XPCJSID.cpp
- XPCJSRuntime.cpp
- wrappers/FilteringWrapper.cpp
- wrappers/WaiveXrayWrapper.cpp
Attachment #739997 -
Flags: review?(bobbyholley+bmo)
Assignee | ||
Comment 1•12 years ago
|
||
Patch for reported hazards in XPConnect header files.
Attachment #739998 -
Flags: review?(bobbyholley+bmo)
Comment 2•12 years ago
|
||
Comment on attachment 739998 [details] [diff] [review]
Proposed changes - part 2
Review of attachment 739998 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/xpconnect/src/XPCQuickStubs.h
@@ +676,5 @@
> Op *popp = static_cast<Op *>(JS_GetPrivate(ptrobj));
>
> v = js::GetFunctionNativeReserved(callee, 1);
>
> + JS::RootedValue argval(cx, (argc > 0) ? args[0] : JSVAL_VOID);
args.get(0)
@@ +702,2 @@
>
> JS::AutoObjectRooter tvr(cx, funobj);
Rooting a Rooted?
Assignee | ||
Comment 3•12 years ago
|
||
Updated patch with Ms2ger's comments.
Attachment #739998 -
Attachment is obsolete: true
Attachment #739998 -
Flags: review?(bobbyholley+bmo)
Attachment #740217 -
Flags: review?(bobbyholley+bmo)
Updated•12 years ago
|
Attachment #739997 -
Flags: review?(bobbyholley+bmo) → review+
Updated•12 years ago
|
Attachment #740217 -
Flags: review?(bobbyholley+bmo) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5b9533763879
https://hg.mozilla.org/mozilla-central/rev/7712c68becc6
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•