Closed Bug 1575384 Opened 6 years ago Closed 6 years ago

WebIDL Binding generator assert "not parent or isinstance(parent, IDLInterface)"

Categories

(Core :: DOM: Bindings (WebIDL), defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: kvark, Assigned: kvark)

References

Details

Attachments

(1 file)

Happens on this fragment, presumably:

interface mixin GPUObjectBase {
    attribute DOMString? label;
};

interface GPUBindGroup : GPUObjectBase {
};

Note that GPUObjectBase isn't defined.

We should make it a proper error message instead of an assert.

Triager - please assign the proper reviewer to that proposed fix.

Attachment #9086838 - Attachment description: WebIDL: Better error message for trying to inherit from a mixing → WebIDL: Better error message for trying to inherit from a mixin
Priority: -- → P2
Pushed by dmalyshau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/78fa1e977d0f WebIDL: Better error message for trying to inherit from a mixin r=bzbarsky
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Assignee: nobody → dmalyshau
Blocks: 1581710
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: