Bug 160626 - DOMException should be constructible
Summary: DOMException should be constructible
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-08-05 19:57 PDT by Chris Dumez
Modified: 2016-08-05 22:36 PDT (History)
9 users (show)

See Also:


Attachments
Patch (48.30 KB, patch)
2016-08-05 20:24 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (48.30 KB, patch)
2016-08-05 20:36 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-08-05 19:57:04 PDT
DOMException should be constructible:
- http://heycam.github.io/webidl/#idl-DOMException

DOMException already has a constructor in Firefox and Chrome.

W3C test:
http://w3c-test.org/WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor.html
Comment 1 Chris Dumez 2016-08-05 20:24:33 PDT
Created attachment 285476 [details]
Patch
Comment 2 Chris Dumez 2016-08-05 20:36:41 PDT
Created attachment 285477 [details]
Patch
Comment 3 WebKit Commit Bot 2016-08-05 22:36:20 PDT
Comment on attachment 285477 [details]
Patch

Clearing flags on attachment: 285477

Committed r204219: <http://trac.webkit.org/changeset/204219>
Comment 4 WebKit Commit Bot 2016-08-05 22:36:25 PDT
All reviewed patches have been landed.  Closing bug.