Open Bug 695969 Opened 13 years ago Updated 2 years ago

"ASSERTION: Don't pass invalid prefixes to nsDocument::CreateElem, check caller"

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
      No description provided.
Attached file stack
So the key part seems to be that we make the CheckQName call in nsDocument::CreateElement and pass it aTagName, which contains the single char U+10BD GEORGIAN CAPITAL LETTER CHAR.

Then we lowercase the string and call CreateElem with the result.  After lowercasing, the string contains a single U+2D1D GEORGIAN SMALL LETTER CHAR.

This is passed to MOZ_XMLCheckQName which operates on _bytes_.  It examines the first byte, which is decides is of type NONASCII (which it is!) and then nmstart is true but IS_NMSTRT_CHAR_MINBPC is false so it errors out.

Peter, are some of expat's tables off here?
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: