Closed Bug 1612444 Opened 5 years ago Closed 5 years ago

Add better error messages for some places where we throw DOMExceptions in layout code

Categories

(Core :: Layout, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Right now we have various places where we just throw an nsresult, but could throw something more informative.

I used ThrowNotSupportedError for the not-implemented case.

Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/078cb087523f Improve some error messages for exceptions in layout. r=emilio
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: