Bug 1541175 Part 1: Prevent fullZoom and textZoom from being remapped on RDM docshell swap. r=ochameau
authorBrad Werth <bwerth@mozilla.com>
Tue, 07 May 2019 17:59:36 +0000
changeset 531761 b377b5bdd883b97fedbfc61666edb780964c1f96
parent 531760 8a577f046a209ccc0d955d171882a8deaa74d5c9
child 531762 2f85ada34acb9da79c83f9fb73b59f8d8d295a8d
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1541175
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1541175 Part 1: Prevent fullZoom and textZoom from being remapped on RDM docshell swap. r=ochameau There is no need to transfer these properties because the swap makes the outer browser act as if it is remote, and then the message manager tunnel ensures that the outer browser will get and set the zoom values from the inner browser. Differential Revision: https://phabricator.services.mozilla.com/D29911
devtools/client/responsive.html/browser/tunnel.js
--- a/devtools/client/responsive.html/browser/tunnel.js
+++ b/devtools/client/responsive.html/browser/tunnel.js
@@ -25,18 +25,16 @@ const SWAPPED_BROWSER_STATE = [
   "_remoteFinder",
   "_securityUI",
   "_documentURI",
   "_documentContentType",
   "_contentTitle",
   "_characterSet",
   "_contentPrincipal",
   "_imageDocument",
-  "_fullZoom",
-  "_textZoom",
   "_isSyntheticDocument",
   "_innerWindowID",
 ];
 
 /**
  * Various parts of the Firefox code base expect to access properties on the browser
  * window in response to events (by reaching for the window via the event's target).
  *