Closed
Bug 1311673
Opened 8 years ago
Closed 8 years ago
ImageDocument::ImageResizingEnabled is unused
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: Gijs, Assigned: edgar)
Details
(Keywords: addon-compat)
Attachments
(1 file)
3.14 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
https://dxr.mozilla.org/mozilla-central/search?q=imageresizingenabled
AFAICT it always returns true, but nobody actually calls either the XPIDL or webidl implementations anywhere, so we're just shipping dead stuff. I found exactly 1 add-on "using" this read-only prop:
https://addons.mozilla.org/en-US/firefox/addon/browse-images/ - but afaict that function gets called in exactly 1 circumstance, namely if the image width and height are both exactly 24 pixels. That seems like buggy code - I don't think that justifies keeping our dead bits around.
Assignee | ||
Comment 2•8 years ago
|
||
Hi Olli, I am willing to take this bug to remove ImageDocument.imageResizingEnabled, but it might cause add-on compatibility problems, although there seems only one add-on using this prop. How do we usually deal with this situation?
Flags: needinfo?(echen) → needinfo?(bugs)
Comment 3•8 years ago
|
||
jorge could answer to that.
Is the addon which is using this updated recently? Is it compatible with current FF release?
Flags: needinfo?(bugs) → needinfo?(jorge)
Comment 4•8 years ago
|
||
I think you could also just contact the addon author and ask whether it is ok to remove the property.
Comment 5•8 years ago
|
||
It's a very old add-on, probably abandoned. I'll include this in the compat communication, but the impact is minimal, so please go ahead with it.
Flags: needinfo?(jorge)
Keywords: addon-compat
Assignee | ||
Comment 7•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8807031 -
Flags: review?(bugs)
Assignee | ||
Comment 8•8 years ago
|
||
Updated•8 years ago
|
Attachment #8807031 -
Flags: review?(bugs) → review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb5e3d3e9596
Remove ImageDocument::ImageResizingEnabled. r=smaug
Keywords: checkin-needed
Comment 10•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
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
•