Closed Bug 466751 Opened 11 years ago Closed 11 years ago
HTML to invalid markup in XHTML causes NS _ERROR _INVALID _POINTER
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
The other caller of this method (nsRange::CreateContextualFragment) can already fail, so I think this should be OK.
That patch results in us throwing: Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "https://bugzilla.mozilla.org/attachment.cgi?id=350091 Line: 15"] Either way we show a "not well formed" error in addition to the innerHTML exception, as far as I can tell, so this isn't *too* big of a deal.
OS: Linux → All
Hardware: PC → All
Version: unspecified → Trunk
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite? → in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
You need to log in before you can comment on or make changes to this bug.