Closed Bug 1609856 Opened 5 years ago Closed 5 years ago

Stop using NS_ERROR_DOM_TYPE_ERR in SVG code

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

Those uses are actually wrong per spec; it's just that the tests are written loosely so they don't catch it.

It turns into a DOMException named 'TypeError' in the bindings, not into an actual TypeError.

Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/045f16984963
Stop using NS_ERROR_DOM_TYPE_ERR in SVGAnimatedEnumeration::SetBaseValue. r=heycam
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21250 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: --- → mozilla74
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: