gecko-dev/browser/actors
Tom Ritter 48a4c411fb Bug 1407366 - Part 3: Implementing the window letterboxing. r=johannh
This patch implements the window letterboxing. The implementation
is based on adding margins around the browser element to round the
content viewport size. Whenever the browser content is resized, the
RFPHelper will adjust margins around it. But it won't add any margins
for an empty browser or a browser loads a content with the system
principal.

The letterboxing is hidden behind a hidden pref
"privacy.resistFingerprinting.letterboxing." By default, it will use
stepping size 200x100 to round content window. And we can customize
the set of dimensions used for deciding the size of the rounded
content viewport by the pref
"privacy.resistFingerprinting.letterboxing.dimensions". This pref
should be formated as 'width1xheight1, width2xheight2, ...'. We will
find the dimensions which can fit into the real content size and have
the smallest margins to be the rounded content viewport size. For example
, given the set "400x200, 500x300, 800x500" and the real content size
"600x300", we would round the content size into 500x300.

--HG--
extra : histedit_source : 4d4ced7e899f4f3cae25e11d30cc24a4f1b9e0e7
2019-02-20 11:24:16 -06:00
..
AboutReaderChild.jsm Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
BlockedSiteChild.jsm Bug 1521549 - Move (de)serializePrincipal from sessionstore Utils to E10SUtils. r=Gijs 2019-02-19 02:34:09 +00:00
BrowserTabChild.jsm
ClickHandlerChild.jsm
ContentSearchChild.jsm
ContextMenuChild.jsm Bug 1522400: Set proper context menu items on about:devtools-toolbox page. r=jdescottes,mconley 2019-02-13 01:50:20 +00:00
DOMFullscreenChild.jsm
FormSubmitChild.jsm
LightWeightThemeInstallChild.jsm
LightweightThemeChild.jsm
LinkHandlerChild.jsm
NetErrorChild.jsm
OfflineAppsChild.jsm
PageInfoChild.jsm Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
PageStyleChild.jsm
PluginChild.jsm Bug 1511381 - Prevent forced layout flush when click-to-play UI loads on page load r=mconley 2019-01-31 17:56:03 +00:00
RFPHelperChild.jsm Bug 1407366 - Part 3: Implementing the window letterboxing. r=johannh 2019-02-20 11:24:16 -06:00
SearchTelemetryChild.jsm
URIFixupChild.jsm
WebRTCChild.jsm
moz.build Bug 1407366 - Part 3: Implementing the window letterboxing. r=johannh 2019-02-20 11:24:16 -06:00