Bug 101955 - DOMException toString is not correct
Summary: DOMException toString is not correct
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 101953 102505
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-12 11:19 PST by Erik Arvidsson
Modified: 2017-07-20 16:45 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Arvidsson 2012-11-12 11:19:45 PST
We currently print

"Error: HIERARCHY_REQUEST_ERR: DOM Exception 3"

We should print

"HierarchyRequestError: The operation would yield an incorrect node tree."

that is

`${error.name}: ${error.message}`
Comment 1 Chris Dumez 2017-07-20 16:45:28 PDT
Looks OK nowadays.