Closed Bug 1640336 Opened 5 years ago Closed 5 years ago

Make HTMLDialogElement::ShowModal to use a descriptive error mage

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: sefeng211, Assigned: sefeng211)

Details

Attachments

(1 file)

This bug updates HTMLDialogElement::ShowModal to use a descriptive error mage, we should use ThrowInvalidStateError.

https://searchfox.org/mozilla-central/rev/fc91a093e40dde71d10ad219946b8ae775aca9eb/dom/html/HTMLDialogElement.cpp#63

Severity: -- → S3
Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3a6dbe946bf2 Use descriptive error messages for dialog.showModal() r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: