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

Eric Seidel (no email)
Reported 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).
Attachments
test case (823 bytes, application/xhtml+xml)
2010-01-07 16:16 PST, Eric Seidel (no email)
no flags
test case (826 bytes, application/xhtml+xml)
2010-01-07 16:17 PST, Eric Seidel (no email)
no flags
Alexey Proskuryakov
Comment 1 2010-01-07 15:57:13 PST
Eric, do you have a test case? Hard to tell if this issue still remains without one.
Eric Seidel (no email)
Comment 2 2010-01-07 16:16:18 PST
Created attachment 46094 [details] test case
Eric Seidel (no email)
Comment 3 2010-01-07 16:17:20 PST
Created attachment 46096 [details] test case
Mike West
Comment 4 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 ***
Lucas Forschler
Comment 5 2019-02-06 09:04:17 PST
Mass moving XML DOM bugs to the "DOM" Component.
Note You need to log in before you can comment on or make changes to this bug.