Closed Bug 464388 Opened 13 years ago Closed 13 years ago

View Source linkification triggers "ASSERTION: Error: no token allocator"

Categories

(Core :: DOM: HTML Parser, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

Steps to reproduce:
1. Load the testcase (or any page containing a link).
2. Cmd+U to View Source.

Result:

###!!! ASSERTION: Error: no token allocator: 'mTokenAllocator || mAttributes.GetSize() == 0', file /Users/jruderman/central/parser/htmlparser/src/nsParserNode.h, line 305

I'm guessing this is a regression from the new view source linkification feature (bug 17612).
This bug was fixed by Neil Rashbrook's patch on bug 17612, attachment 347755 [details] [diff] [review].  I don't see this assertion now on any of several different pages.  However, after undoing the patch, I did see the assertion from nsParserNode.h, line 305.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.