Consider making IDBKeyRange not inherit from nsISupports
Categories
(Core :: Storage: IndexedDB, enhancement, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: Ms2ger, Assigned: janv)
References
Details
(Keywords: good-first-bug, Whiteboard: [qa-], dom-lws-bugdash-triage)
Attachments
(2 files)
| Reporter | ||
Updated•12 years ago
|
Comment 1•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Updated•3 years ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS would probably need to be changed to NS_INLINE_DECL_CYCLE_COLLECTING_NATIVE_REFCOUNTING or something like that
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 6•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 7•1 year ago
|
||
This is done based on the note in Web IDL bindings documentation:
If your object can only be reflected into JS by creating it, not by retrieving
it from somewhere, you can skip steps 1 and 2 above and instead add
'wrapperCache': False to your descriptor. You will need to flag the functions
that return your object as [NewObject] in the Web IDL. If your object is not
refcounted then the return value of functions that return it should return a
UniquePtr.
The step 1 is about inheriting from nsWrapperCache and step 2 is about ensuring
GetParentObject for the class.
Comment 9•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3af2e5e4f512
https://hg.mozilla.org/mozilla-central/rev/acfeaa005834
Description
•