Closed
Bug 898926
Opened 11 years ago
Closed 11 years ago
"Assertion failure: mElements.Contains(cur)" with xbl:children, adding stylesheet
Categories
(Core :: XBL, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
Tracking | Status | |
---|---|---|
firefox24 | --- | unaffected |
firefox25 | + | fixed |
firefox26 | --- | fixed |
firefox-esr17 | --- | unaffected |
firefox-esr24 | --- | unaffected |
b2g18 | --- | unaffected |
b2g-v1.1hd | --- | unaffected |
b2g-v1.2 | --- | fixed |
People
(Reporter: jruderman, Assigned: mrbkap)
References
Details
(4 keywords)
Attachments
(4 files, 1 obsolete file)
538 bytes,
application/xhtml+xml
|
Details | |
8.67 KB,
text/plain
|
Details | |
1.61 KB,
patch
|
sicking
:
review+
abillings
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
2.30 KB,
patch
|
sicking
:
review+
|
Details | Diff | Splinter Review |
Assertion failure: mElements.Contains(cur), at layout/style/nsCSSRuleProcessor.cpp:3505
More fallout from bug 653881?
Reporter | ||
Updated•11 years ago
|
Blocks: randomclasses, stirdom
Reporter | ||
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Assignee: nobody → mrbkap
Comment 2•11 years ago
|
||
That doesn't sound great, but feel free to adjust the rating as desired.
Keywords: sec-high
Assignee | ||
Comment 3•11 years ago
|
||
I'm not convinced that this is a security sensitive bug, but I don't know all of the possible consequences, so I'll leave it as is.
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Attachment #786583 -
Flags: review?(jonas)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #786607 -
Flags: review?(jonas)
Assignee | ||
Comment 6•11 years ago
|
||
Sorry for the spam -- I got overeager in simplifying the reftest and the
previous version didn't assert, even before the patch. This reftest
does, though.
Attachment #786607 -
Attachment is obsolete: true
Attachment #786607 -
Flags: review?(jonas)
Attachment #786613 -
Flags: review?(jonas)
Comment on attachment 786613 [details] [diff] [review]
Add reftest.
Review of attachment 786613 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/reftests/dom/xbl-children-4.xhtml
@@ +13,5 @@
> + <script>
> + onload = function() {
> + var newSheet = document.createElementNS("http://www.w3.org/1999/xhtml", "style");
> + newSheet.appendChild(document.createTextNode("#nosuchelement { }"));
> + document.head.appendChild(newSheet);
Please see if you can change this to just do layout flush by accessing document.body.offsetTop or some such.
Attachment #786613 -
Flags: review?(jonas) → review+
Attachment #786583 -
Flags: review?(jonas) → review+
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec3734c7c17f
https://hg.mozilla.org/integration/mozilla-inbound/rev/7f28258bc04f
I added some comments to the reftest to make it more clear as to what was going on.
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ec3734c7c17f
https://hg.mozilla.org/mozilla-central/rev/7f28258bc04f
Status: NEW → RESOLVED
Closed: 11 years ago
status-firefox26:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment 10•11 years ago
|
||
This was fixed in 26 but no one ever said how far back it went (and it didn't go through sec-approval, which implies trunk only at the time).
Are earlier versions unaffected? I'm specifically concerned about a potential unfixed sec-high in ESR24 or ESR17.
status-firefox24:
--- → ?
status-firefox25:
--- → ?
status-firefox-esr17:
--- → ?
status-firefox-esr24:
--- → ?
Comment 11•11 years ago
|
||
Don't we want to uplift this to Firefox 25?
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 786583 [details] [diff] [review]
xbl:children elements are insertion points if they're inactive.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 653881
User impact if declined: Potential security hole.
Testing completed (on m-c, etc.): This has been on m-c for a while, as well as aurora
Attachment #786583 -
Flags: approval-mozilla-beta?
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Al Billings [:abillings] from comment #10)
> This was fixed in 26 but no one ever said how far back it went (and it
> didn't go through sec-approval, which implies trunk only at the time).
Yeah, this doesn't affect anything other than Beta at this point.
Flags: needinfo?(mrbkap)
Comment 15•11 years ago
|
||
Comment on attachment 786583 [details] [diff] [review]
xbl:children elements are insertion points if they're inactive.
Let's not ship this. :-)
Attachment #786583 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 16•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/bec39903e303
https://hg.mozilla.org/releases/mozilla-beta/rev/5f1bc0dcd086
Updated•11 years ago
|
Group: core-security
You need to log in
before you can comment on or make changes to this bug.
Description
•