Closed
Bug 282735
Opened 20 years ago
Closed 20 years ago
[FIX]XBL treats <children> tags in all namespaces as <xbl:children>
Categories
(Core :: XBL, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla1.8beta2
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(4 files, 1 obsolete file)
|
369 bytes,
application/xml
|
Details | |
|
123 bytes,
text/html
|
Details | |
|
9.72 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.56 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
There's no namespace check; there should be one.
| Assignee | ||
Comment 1•20 years ago
|
||
| Assignee | ||
Updated•20 years ago
|
Attachment #174703 -
Attachment is obsolete: true
| Assignee | ||
Comment 2•20 years ago
|
||
| Assignee | ||
Comment 3•20 years ago
|
||
| Assignee | ||
Comment 4•20 years ago
|
||
| Assignee | ||
Comment 5•20 years ago
|
||
Attachment #174709 -
Flags: superreview?(jst)
Attachment #174709 -
Flags: review?(jst)
| Assignee | ||
Updated•20 years ago
|
Priority: -- → P2
Target Milestone: --- → mozilla1.8beta2
Comment 6•20 years ago
|
||
Comment on attachment 174709 [details] [diff] [review] Diff -w for ease of review +nsXBLPrototypeBinding::GetNestedChildren(): + if (child->IsContentOfType(nsIContent::eELEMENT) && + child->GetNodeInfo()->Equals(aTag, aNamespace)) { You could save yourself a virtual call there if you'd cat the nodeinfo into a local weak pointer and then null check it before using it, if you'd do that you wouldn't need to do the IsContentOfType() check. r+sr=jst
Attachment #174709 -
Flags: superreview?(jst)
Attachment #174709 -
Flags: superreview+
Attachment #174709 -
Flags: review?(jst)
Attachment #174709 -
Flags: review+
| Assignee | ||
Comment 7•20 years ago
|
||
Fixed with that comment.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 9•20 years ago
|
||
This patch broke the quick search drop down box for Thunderbird's quick search boxes (visible from the mail 3-pane, the address book and the contacts sidebar panel). Please see Bug #284126 for details.
You need to log in
before you can comment on or make changes to this bug.
Description
•