Closed Bug 1378985 Opened 8 years ago Closed 8 years ago

Remove DOMException [LenientThis]

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: d, Assigned: bzbarsky)

Details

Attachments

(1 file)

In https://github.com/heycam/webidl/pull/378 we updated the Web IDL specification to align DOMException much more closely to what is implemented. Firefox is mostly compliant with the exception of having [LenientThis] applied to message and name. This causes the tests at http://w3c-test.org/WebIDL/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.html to fail.
Priority: -- → P2
This makes DOMException.prototype.toString() throw when it wouldn't have before. But it throws in other browsers already, so this is presumably web-compatible.
Attachment #8886803 - Flags: review?(kyle)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #8886803 - Flags: review?(kyle) → review+
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d5480fa14bbb Align DOMException webidl with the updated spec. r=qdot
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: