Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin f2fcce14e4 Bug 1553384, update letterboxing to be fission compatible now that findbar isn't using the message manager. Add a findbar open/close test for letterboxing, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D45757

--HG--
extra : moz-landing-system : lando
2019-09-18 09:33:52 +00:00
Victor Porof 55d8d8e0e0 Bug 1561435 - Format browser/actors/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36040

--HG--
extra : source : 4aa9ae9a72e81f48229df25173d42d52490d2f5b
2019-07-05 09:46:28 +02:00
Tom Ritter e06d958abe Bug 1546832 - Adjust letterboxing to take the FindBar and Devtools into account r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D31639

--HG--
extra : moz-landing-system : lando
2019-05-24 07:53:11 +00:00
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