Closed Bug 1667887 Opened 4 years ago Closed 4 years ago

Remove dead code in highContrastCheck in the screenshots UI

Categories

(Firefox :: Screenshots, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: emmamalysz, Assigned: falgunimst95)

References

(Regressed 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

https://searchfox.org/mozilla-central/rev/f27594d62e7f1d57626889255ce6a3071d67209f/browser/extensions/screenshots/selector/ui.js#61-63 is dead code because we respect background-image: url() and backplate over it now. This can be removed.

Well, in particular, it depends on browser.display.permit_backplate. But looking at how it's used here, depending on the contrast it could ideally just use @media (prefers-contrast: forced)...

Hello I got accepted as an outreachy applicant, Can I work on this bug?

Removing the unused javascript code.

Assignee: nobody → falgunimst95
Status: NEW → ASSIGNED
Attachment #9212604 - Attachment is obsolete: true
Attachment #9212738 - Attachment description: Bug 1667887: this is my another patch → Bug 1667887: I had Removed dead code in highContrastCheck in the screenshots UI
Attachment #9212738 - Attachment description: Bug 1667887: I had Removed dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix removed dead code in highContrastCheck in the screenshots UI
Attachment #9212738 - Attachment description: Bug 1667887: fix removed dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix remove dead code in highContrastCheck in the screenshots UI
Attachment #9212738 - Attachment description: Bug 1667887: fix remove dead code in highContrastCheck in the screenshots UI → Bug 1667887: fixed remove dead code in highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI → Bug 1667887: fixed Removing dead code in highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fixed Removing dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI
Attachment #9212738 - Attachment is obsolete: true

Hi.. i would like to take up this issue , if its unassigned . Thanks

Attachment #9216213 - Attachment description: Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix removing dead code in highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix removing dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix Removing dead code highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing dead code highContrastCheck in the screenshots UI → Bug 1667887: fix Removing dead code In highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing dead code In highContrastCheck in the screenshots UI → Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix Removing Dead code in highContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing Dead code in highContrastCheck in the screenshots UI → Bug 1667887: fix Removing Dead code in HighContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Removing Dead code in HighContrastCheck in the screenshots UI → Bug 1667887: fix Remove Dead code in HighContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Remove Dead code in HighContrastCheck in the screenshots UI → Bug 1667887: fix Remove Dead Code in HighContrastCheck in the screenshots UI
Attachment #9216213 - Attachment description: Bug 1667887: fix Remove Dead Code in HighContrastCheck in the screenshots UI → Bug 1667887: fix Remove Dead Code in HighContrastCheck in the Screenshots UI
Pushed by emalysz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c18e36c5e1e fix Remove Dead Code in HighContrastCheck in the Screenshots UI r=emalysz
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Regressions: 1743127
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: