Opened 11 months ago

Last modified 11 months ago

#32713 new defect

Letterboxing doesn't work when fullscreening videos (it covers exactly the whole screen)

Reported by: cypherpunks Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-fingerprinting-resolution
Cc: gk, tom Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description


Child Tickets

Change History (3)

comment:1 Changed 11 months ago by Thorin

Keywords: tbb-fingerprinting-resolution added

Note: the full-screen API requires user interaction, and can already get your exact full-screen dimensions with or without a video.

comment:2 Changed 11 months ago by Thorin

Here's an image element doing the same thing

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FS Element</title>
<style>
body {background-color: white; color: black;}
</style>
</head>
<body>
<img id="image" width=0 height=0></img>
<button onClick="goFS()">click me to go full screen</button>
<script>
function goFS() {
	if (document.mozFullScreenEnabled) {
		let element = document.getElementById("image");
		element.mozRequestFullScreen();
	};
}
</script>
</body>
</html>

comment:3 Changed 11 months ago by Thorin

@gk .. should we close this as a duplicate of #12609 ? Note: we still have https://bugzilla.mozilla.org/show_bug.cgi?id=1450401 upstream

Note: See TracTickets for help on using tickets.