Closed
Bug 720647
Opened 13 years ago
Closed 13 years ago
Add message managers to black-bit-propagation
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
This code will be used by nsCCUncollectableMarker::Observe.
Attachment #591047 -
Flags: review?(continuation)
Assignee | ||
Comment 1•13 years ago
|
||
Comment on attachment 591047 [details] [diff] [review]
patch
Er, this is only partial patch. Uploading a new one in a minute.
Attachment #591047 -
Flags: review?(continuation)
Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 591047 [details] [diff] [review]
patch
Actually this is ok. I'll move some other stuff to nsCCUncollectableMarker
Attachment #591047 -
Flags: review?(continuation)
Comment 3•13 years ago
|
||
Did you mean to make nsIInProcessContentFrameMessageManager builtinclass? You changed the UUID but didn't do anything else to that class.
Comment 4•13 years ago
|
||
Looks reasonable to me, though I still don't like how you are doing the unmark gray on the XPCWrappedJS here. ;) But let's hash that out in bug 720536.
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #3)
> Did you mean to make nsIInProcessContentFrameMessageManager builtinclass?
> You changed the UUID but didn't do anything else to that class.
It isn't a scriptable interface, so builtinclass doesn't really matter, and uuid is changed
by the script which changes uuids in all the interfaces which inherit an interface which got
changed.
Comment 6•13 years ago
|
||
Ah, okay, that makes sense. I figured there was a reason, I just wasn't sure what it was.
Updated•13 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 7•13 years ago
|
||
Comment on attachment 591047 [details] [diff] [review]
patch
Review of attachment 591047 [details] [diff] [review]:
-----------------------------------------------------------------
r=me if you revert the xpcprivate.h include and replace the if block as described below.
::: content/base/src/nsFrameMessageManager.cpp
@@ +1117,5 @@
> + PRUint32 len = mListeners.Length();
> + for (PRUint32 i = 0; i < len; ++i) {
> + nsCOMPtr<nsIXPConnectWrappedJS> wjs =
> + do_QueryInterface(mListeners[i].mListener);
> + if (wjs) {
I assume you will replace this whole "if (wjs) { ... }" block with just "xpc_UnmarkGrayObject(wjs);" as per the other bugs.
Attachment #591047 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 8•13 years ago
|
||
Yup. I have that already fixed locally.
Assignee | ||
Comment 9•13 years ago
|
||
Assignee: nobody → bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 10•13 years ago
|
||
Attachment #591791 -
Attachment is obsolete: true
Assignee | ||
Comment 11•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Target Milestone: --- → mozilla12
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•