[Webkit-unassigned] [Bug 174702] New: DOMException should have same properties as Error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 20 19:10:17 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174702

            Bug ID: 174702
           Summary: DOMException should have same properties as Error
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Bindings
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cdumez at apple.com
                CC: cdumez at apple.com, fpizlo at apple.com, ggaren at apple.com,
                    sam at webkit.org
            Blocks: 174216

DOMException should have same properties as Error, e.g. "stack" property, as per:
https://heycam.github.io/webidl/#es-DOMException-specialness

"""
If an implementation gives native Error objects special powers or nonstandard properties (such as a stack property), it should also expose those on DOMException instances.
"""

This is covered by the last check of:
http://w3c-test.org/WebIDL/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.html


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=174216
[Bug 174216] Update DOMException to the latest spec
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170721/4e12050b/attachment.html>


More information about the webkit-unassigned mailing list