Closed
Bug 1348453
Opened 8 years ago
Closed 8 years ago
Add a single argument overload to ImageBitmap::ExtensionsEnabled()
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
Details
Attachments
(1 file)
|
3.84 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8848679 -
Flags: review?(amarchesini)
Comment 2•8 years ago
|
||
Comment on attachment 8848679 [details] [diff] [review]
Add a single argument overload to ImageBitmap::ExtensionsEnabled()
Review of attachment 8848679 [details] [diff] [review]:
-----------------------------------------------------------------
Is this not the same to change:
static bool ExtensionsEnabled(JSContext* aCx, JSObject* aObj = nullptr);
I don't see big differences between your patch and this line.
Attachment #8848679 -
Flags: review?(amarchesini) → review+
| Assignee | ||
Comment 3•8 years ago
|
||
I'd honestly prefer the default arg myself, but I did what Boris asked me to. What do you think, Boris?
Flags: needinfo?(bzbarsky)
Comment 4•8 years ago
|
||
I can live with the default arg as long as we clearly document that it's totally unused and only there because bindings insist on passing it, and that anyone else should call this function with only one arg.
Flags: needinfo?(bzbarsky)
Pushed by eakhgari@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8bb4f514012b
Make the second argument to ImageBitmap::ExtensionsEnabled() optional; r=baku
Comment 6•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ehsan
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•