Bug 35140

Summary: Wrong string return for DOM XSLTProcessor and XMLDocument toString() call
Product: WebKit Reporter: Marc Bonnier <chrome>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Trivial CC: ap
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Marc Bonnier
Reported 2010-02-19 00:52:33 PST
I know this does not break anything but just for the sake of consistency ... 1) The window.XSLTProcessor.toString() call returns: "[object XSLTProcessorConsructor]" instead of: "[object XSLTProcessorConstructor]" (little typo :). 2) The window.XMLDocument.toString() call returns: "[object DocumentConstructor]" instead of: "[object XMLDocumentConstructor]" (all the others consistent with the window property name). Thanks.
Attachments
Alexey Proskuryakov
Comment 1 2010-02-19 17:01:41 PST
(2) happens because XMLDocument is just an alias for Document we have for compatibility. There is no such thing as XMLDocument in HTML5 or WebKit. So, this is expected behavior. (1) is something to be fixed, of course.
Alexey Proskuryakov
Comment 2 2010-08-09 03:51:48 PDT
Note You need to log in before you can comment on or make changes to this bug.