gecko-dev/mobile
Jan Henning 24c879e19f Bug 1510029 - Correctly set desktop mode viewport when creating a tab. r=esawin
The desktopMode property on Fennec's tab object is already being correctly being
preserved when (re)creating a tab [1], but we don't propagate its state to the
content window's desktop viewport mode setting.

[1] When restoring into a fresh tab, the session restore code passes the stored
desktopMode flag to addTab, whereas zombifying an existing tab destroys its
<browser>, but leaves the tab object's properties intact, so we merely need to
re-set the desktop viewport mode on the new <browser>'s content window.

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

--HG--
extra : moz-landing-system : lando
2019-01-28 21:01:55 +00:00
..
android Bug 1510029 - Correctly set desktop mode viewport when creating a tab. r=esawin 2019-01-28 21:01:55 +00:00
locales Bug 1507595 - Test fixes. r=flod,Gijs 2018-12-28 19:40:33 +00:00