Closed Bug 1966184 Opened 3 months ago Closed 3 months ago

RFPTarget::ScreenAvailToSize should handle fullscreen status

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

defect

Tracking

()

RESOLVED FIXED
140 Branch
Tracking Status
firefox140 --- fixed

People

(Reporter: fkilic, Assigned: tjr)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

See comment 17 until 20 for the discussion in bug 1954194. In summary, we probably want to return different numbers when we are in fullscreen mode.

Blocks: fpp2

Thanks for opening this bug!
I've already worked on this for Bug 1591337, here is my WIP branch: https://github.com/PieroV/firefox/tree/1591337-spoof-outer-realistic-size.
I think I can send a partial patch to cover this Bug if it's okay for you 😄.

I've tested the patch on Android, Linux, and both types of mac fullscreen and it works as expected; I'm going to try and get this into 140 so we're not delayed a cycle on experimenting.

Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c60ed4ebccce If we are fullscreen, do not subtract anything from the available resolution r=fkilic
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Assignee: fkilic → tom
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: