Remove about:config pref image.natural-size-fallback.enabled
Categories
(Core :: Layout: Images, Video, and HTML Frames, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: dholbert, Assigned: kyoety, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Before we fix bug 2033633, we should probably remove the about:config pref that guards its code, to simplify things a bit.
That about:config pref (which guarded the new code that I added in bug 1965560 last year) has been shipping as true for over a year now (since bug 1969753 landed), so it's pretty solidly shipped and we're unlikely to want to revert it to the previous value at this point, given that the prior codepath is now solidly against the spec and causes site breakage.
Things to do here:
- Remove the
image.natural-size-fallback.enabledblock frommodules/libpref/init/StaticPrefList.yaml
https://searchfox.org/firefox-main/rev/e28b34ab33dbf49364999070168cbb7e11e8e5bd/modules/libpref/init/StaticPrefList.yaml#8837-8843 - Delete this file which only exists to set that pref to true for tests (which was important before the pref defaulted to true):
https://searchfox.org/firefox-main/rev/e28b34ab33dbf49364999070168cbb7e11e8e5bd/testing/web-platform/meta/html/semantics/embedded-content/the-img-element/__dir__.ini - Delete these two C++ checks for this pref, deleting/simplifying surrounding code to assume that the pref-check is now unconditionally 'true' (i.e. we're definitely sticking with the new behavior that the pref was controlling)
https://searchfox.org/firefox-main/search?q=natural_size_fallback&path=
| Assignee | ||
Comment 1•18 days ago
|
||
Comment 4•17 days ago
|
||
Backed out for causing wpt failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/5485fd26a493f03aeabcb83d43df3bccbee0151c
Comment 7•12 days ago
|
||
Backed out for causing wpt failures @ naturalWidth-naturalHeight-width-height.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/412e14f227a557fe3f154ca881020f1558ef5ccf
Description
•