Closed
Bug 1814249
Opened 1 year ago
Closed 1 year ago
Reduce boilerplate code needed to define getters methods for settings or events in WebIDL bindings for the WebExtensions API
Categories
(WebExtensions :: General, task, P2)
WebExtensions
General
Tracking
(firefox111 fixed)
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: rpl, Assigned: rpl)
References
Details
(Whiteboard: [addons-jira])
Attachments
(4 files)
As a followup to Bug 1748293 we are considering to introduce a couple small C++ macros to reduce the boilerplate code needed to define each of getters methods for settings and events.
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Attachment #9315241 -
Attachment description: Bug 1814249 - Introduce a new NS_IMPL_EXTENSION_API_EVENTMGR C++ macro to reduce boilerplate needed for the event manager getter methods. r?willdurand! → Bug 1814249 - Introduce a new NS_IMPL_WEBEXT_EVENTMGR C++ macro to reduce boilerplate needed for the event manager getter methods. r?willdurand!
Updated•1 year ago
|
Attachment #9315242 -
Attachment description: Bug 1814249 - Use NS_IMPL_EXTENSION_API_EVENTMGR C++ macro in ExtensionProxy.cpp r?willdurand! → Bug 1814249 - Use NS_IMPL_WEBEXT_EVENTMGR C++ macro in ExtensionProxy.cpp r?willdurand!
Updated•1 year ago
|
Attachment #9315243 -
Attachment description: Bug 1814249 - Use NS_IMPL_EXTENSION_API_EVENTMGR C++ macro in ExtensionSetting.cpp r?willdurand! → Bug 1814249 - Use NS_IMPL_WEBEXT_EVENTMGR C++ macro in ExtensionSetting.cpp r?willdurand!
Updated•1 year ago
|
Attachment #9315244 -
Attachment description: Bug 1814249 - Introduce a new NS_IMPL_EXTENSION_API_SETTING C++ macro to reduce boilerplate on definiting settings getters. r?willdurand! → Bug 1814249 - Introduce a new NS_IMPL_WEBEXT_SETTING C++ macro to reduce boilerplate on definiting settings getters. r?willdurand!
Pushed by luca.greco@alcacoop.it: https://hg.mozilla.org/integration/autoland/rev/1bc0f11d942c Introduce a new NS_IMPL_WEBEXT_EVENTMGR C++ macro to reduce boilerplate needed for the event manager getter methods. r=willdurand https://hg.mozilla.org/integration/autoland/rev/1b5a4589d515 Use NS_IMPL_WEBEXT_EVENTMGR C++ macro in ExtensionProxy.cpp r=willdurand https://hg.mozilla.org/integration/autoland/rev/8b47bccc2514 Use NS_IMPL_WEBEXT_EVENTMGR C++ macro in ExtensionSetting.cpp r=willdurand https://hg.mozilla.org/integration/autoland/rev/c94ff53f14a5 Introduce a new NS_IMPL_WEBEXT_SETTING C++ macro to reduce boilerplate on definiting settings getters. r=willdurand
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1bc0f11d942c
https://hg.mozilla.org/mozilla-central/rev/1b5a4589d515
https://hg.mozilla.org/mozilla-central/rev/8b47bccc2514
https://hg.mozilla.org/mozilla-central/rev/c94ff53f14a5
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•