Bug 15492

Summary: div.innerHTML in an XHTML document should log errors
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, cdumez, mkwst
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 28853    
Bug Blocks:    
Attachments:
Description Flags
test case
none
test case none

Description Eric Seidel (no email) 2007-10-13 20:56:36 PDT
div.innerHTML in an XHTML document should log errors

Right now div.innerHTML when the parse fails, it just returns:
NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7

Much better would be to log to the console (even if that's still the error returned).
Comment 1 Alexey Proskuryakov 2010-01-07 15:57:13 PST
Eric, do you have a test case? Hard to tell if this issue still remains without one.
Comment 2 Eric Seidel (no email) 2010-01-07 16:16:18 PST
Created attachment 46094 [details]
test case
Comment 3 Eric Seidel (no email) 2010-01-07 16:17:20 PST
Created attachment 46096 [details]
test case
Comment 4 Mike West 2012-09-28 02:17:00 PDT
Duping this against 28853. I'll add context to the DOM exception there.

*** This bug has been marked as a duplicate of bug 28853 ***
Comment 5 Lucas Forschler 2019-02-06 09:04:17 PST
Mass moving XML DOM bugs to the "DOM" Component.