Shouldn't allow IDL that has an 'owned' interface in a sequence or dictionary

RESOLVED FIXED in mozilla28

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Tracking

unspecified
mozilla28
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

Attachments

(1 attachment)

Because we don't know how to keep the C++ object alive.

Right now we just try to use an nsRefPtr or OwningNonNull, which fails to compile if the object has no AddRef/Release.  But better to not depend on that.
Created attachment 824904 [details] [diff] [review]
Don't try to codegen code that keeps alive objects with 'owned' nativeOwnership, since we have no way to do that.
Attachment #824904 - Flags: review?(bugs)
Attachment #824904 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/b7e11343c6e2
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28

Updated

5 years ago
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.