Bug 64532 - XML errors reporting could fail when DOM mutation events listeners are registered.
Summary: XML errors reporting could fail when DOM mutation events listeners are regist...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-14 08:50 PDT by Vsevolod Vlasov
Modified: 2011-07-14 10:26 PDT (History)
2 users (show)

See Also:


Attachments
XML with errors and DOM mutation event listeners registered (566 bytes, application/xml)
2011-07-14 08:51 PDT, Vsevolod Vlasov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2011-07-14 08:50:15 PDT
XML errors reporting could fail when DOM mutation events listeners are registered.

See example in attachment.
This xml document contains "</>" which usually leads to an error message.
But since there is DOMSubtreeModified event listener added to the root element, error message is replaced by some other message.
Comment 1 Vsevolod Vlasov 2011-07-14 08:51:08 PDT
Created attachment 100812 [details]
XML with errors and DOM mutation event listeners registered
Comment 2 Alexey Proskuryakov 2011-07-14 10:26:07 PDT
Should we just block any script execution once an XML parsing error is detected?