Closed
Bug 698974
Opened 14 years ago
Closed 14 years ago
querySelector on createDocumentFragment triggers "ASSERTION: Unexpected root node"
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: jruderman, Assigned: bzbarsky)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(2 files)
|
91 bytes,
text/html
|
Details | |
|
3.14 KB,
patch
|
sicking
:
review+
|
Details | Diff | Splinter Review |
> ###!!! ASSERTION: Unexpected root node: 'aRoot->IsElement() || aRoot->IsNodeOfType(nsINode::eDOCUMENT)', file content/base/src/nsGenericElement.cpp, line 5395
> nsGenericElement::doQuerySelector [content/base/src/nsGenericElement.cpp:5463]
> nsIDOMNodeSelector_QuerySelector [dom_quickstubs.cpp:5689]
I'm guessing this is a regression from:
changeset: b068485e4cc2
user: Boris Zbarsky
date: Mon Oct 31 22:50:50 2011 -0400
summary: Bug 696205 part 2. Add a querySelector fast-path for selectors whose rightmost sequence of simple selectors contains an id. r=sicking
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #571236 -
Flags: review?(jonas)
| Assignee | ||
Updated•14 years ago
|
Whiteboard: [need review]
| Reporter | ||
Comment 3•14 years ago
|
||
What's the loop index change for?
| Assignee | ||
Comment 4•14 years ago
|
||
Fixes a compiler warning...
Attachment #571236 -
Flags: review?(jonas) → review+
| Assignee | ||
Comment 5•14 years ago
|
||
Flags: in-testsuite+
Whiteboard: [need review]
Target Milestone: --- → mozilla10
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•