Bug 15492 - div.innerHTML in an XHTML document should log errors
Summary: div.innerHTML in an XHTML document should log errors
Status: RESOLVED DUPLICATE of bug 28853
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 28853
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-13 20:56 PDT by Eric Seidel (no email)
Modified: 2019-02-06 09:04 PST (History)
3 users (show)

See Also:


Attachments
test case (823 bytes, application/xhtml+xml)
2010-01-07 16:16 PST, Eric Seidel (no email)
no flags Details
test case (826 bytes, application/xhtml+xml)
2010-01-07 16:17 PST, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.