Closed Bug 1581173 Opened 5 years ago Closed 5 years ago

Mutation observer shouldn't be using NS_ERROR_DOM_TYPE_ERR

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(2 files)

Spec says to throw TypeError.

And of course there are no WPTs for these codepaths at all...

Assignee: nobody → bzbarsky
Priority: -- → P2
Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9d5377b224b3 part 1. Add a way to more easily throw TypeErrors and RangeErrors with custom message strings via ErrorResult. r=smaug https://hg.mozilla.org/integration/autoland/rev/5f67fa6e2e95 part 2. Fix MutationObserver to throw the right exceptions. r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/19223 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: