WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
35140
Wrong string return for DOM XSLTProcessor and XMLDocument toString() call
https://bugs.webkit.org/show_bug.cgi?id=35140
Summary
Wrong string return for DOM XSLTProcessor and XMLDocument toString() call
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
Add attachment
proposed patch, testcase, etc.
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
(1) has been fixed in <
http://trac.webkit.org/changeset/61136
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug