Closed Bug 1577016 Opened 5 years ago Closed 5 years ago

Improve error reporting for nullable dictionary arguments

Categories

(Core :: DOM: Bindings (WebIDL), task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

Right now we throw pretty bizarre and un-informative exceptions for them in some cases and don't treat them as an error at all in others. This was hidden due to lack of test coverage for the latter situation and the test only checking that some exception is thrown in the former situation.

Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bfa69fbe8e8b
Improve our error reporting for nullable dictionary operation arguments.  r=peterv
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: