Closed Bug 1585684 Opened 6 years ago Closed 6 years ago

Fix bogus MSG_PERMISSION_DENIED_TO_PASS_ARG uses in unions

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

We are generating code like this:

ThrowErrorMessage(cx, MSG_PERMISSION_DENIED_TO_PASS_ARG, "%s");

which is not terribly helpful in terms of the resulting error message.

Assignee: nobody → bzbarsky
Priority: -- → P1

The new error message is still not great, but it's a lot better than having %s
as the description of what's going on.

Pushed by bzbarsky@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/624eb2d8080b Fix error message for permission failures when passing a union member. r=peterv
Status: NEW → RESOLVED
Closed: 6 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: