Closed
Bug 609549
Opened 14 years ago
Closed 13 years ago
inIDOMUtils needs getChildrenForNode to do what inDOMView does when a node is expanded to show children
Categories
(Other Applications :: DOM Inspector, enhancement)
Other Applications
DOM Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla7
People
(Reporter: crussell, Assigned: crussell)
References
Details
Attachments
(1 file, 5 obsolete files)
7.87 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Firebug wants this, instead of the gotcha-filled nsIDOMDocumentXBL approach it's using. Here's a patch that doesn't work. It would take considerable hand-holding for me to see this through, since I have no idea what I'm doing regarding Gecko's smart pointers implementation.
Comment 1•14 years ago
|
||
>+ *aChildren = kids;
kids.forget(aChildren);
should do the trick, I'd think.
Comment 2•14 years ago
|
||
Oh, and the point is I'm happy to hand-hold, review, explain why comment 1 makes sense, etc.
Comment 3•14 years ago
|
||
Firebug needs this to work properly, correct? Seeing as how this is an API change, this may need to block beta 7...
blocking2.0: --- → ?
Comment 4•14 years ago
|
||
We can add this to a separate interface post-b7 if it's a must-have, fwiw.
Not blocking b7 on it then. If for some reason we haven't built when this is ready, we'll likely take it....but not a blocker.
blocking2.0: ? → ---
Comment 6•14 years ago
|
||
(In reply to comment #3) > Firebug needs this to work properly, correct? No, this would be for Chromebug, XUL level inspection.
Assignee | ||
Comment 7•14 years ago
|
||
I guess this is the reason?
Assignee: nobody → Sevenspade
Attachment #488136 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #489952 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•14 years ago
|
Attachment #489952 -
Attachment description: forget the pointer to the outparam so the nsCOMPtr destructors doesn't try to free it → forget the pointer to the outparam so the nsCOMPtr destructor doesn't try to free it
Assignee | ||
Comment 8•14 years ago
|
||
Assignee | ||
Comment 9•14 years ago
|
||
Attachment #489956 -
Attachment is obsolete: true
Comment 10•14 years ago
|
||
> I guess this is the reason?
Yes.
The C++ code is fine now, but we do need that separate interface if we want this to land for Gecko 2.0....
Assignee | ||
Comment 11•14 years ago
|
||
(In reply to comment #10) > > I guess this is the reason? > > Yes. > > The C++ code is fine now, but we do need that separate interface if we want > this to land for Gecko 2.0.... That seems like a bad idea. I'm fine with it going into 2.next. Maybe someone else disagrees though.
Comment 12•14 years ago
|
||
As long as we don't lose track of it, sure. In that case, the patch looks fine except the interface needs a new uuid.
Comment 13•14 years ago
|
||
Isn't in the case that we are allowing the change for *some* interfaces? Also, we can add it as a new interface, and merge it post-2.0 (and make it all the same object in terms of JS now).
Comment 14•14 years ago
|
||
> Isn't in the case that we are allowing the change for *some* interfaces?
I believe that at this point all interfaces are considered frozen unless the change is _really_ needed.
Assignee | ||
Updated•14 years ago
|
Whiteboard: [post-2.0]
Assignee | ||
Updated•14 years ago
|
Attachment #489952 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 15•13 years ago
|
||
Attachment #489952 -
Attachment is obsolete: true
Attachment #489986 -
Attachment is obsolete: true
Attachment #530971 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 16•13 years ago
|
||
Does this still need a UUID change, since it was changed for bug 557726?
Comment 17•13 years ago
|
||
Comment on attachment 530971 [details] [diff] [review] no bitrot Yes, this still needs an iid rev. The rest looks fine.
Attachment #530971 -
Flags: review?(bzbarsky) → review-
Assignee | ||
Comment 18•13 years ago
|
||
Attachment #530971 -
Attachment is obsolete: true
Attachment #535733 -
Flags: review?(bzbarsky)
Comment 19•13 years ago
|
||
Comment on attachment 535733 [details] [diff] [review] New IID for inIDOMUtils r=me
Attachment #535733 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
http://hg.mozilla.org/projects/cedar/rev/d5d69f272f8f
Keywords: checkin-needed
Whiteboard: [post-2.0] → [fixed-in-cedar]
Comment 21•13 years ago
|
||
Pushed: http://hg.mozilla.org/mozilla-central/rev/d5d69f272f8f
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-cedar]
Target Milestone: --- → mozilla7
You need to log in
before you can comment on or make changes to this bug.
Description
•