Bug 1387783 - Add lazy browser shims for fullZoom and textZoom. r=kevinjones, a=lizzard
authorDão Gottwald <dao@mozilla.com>
Thu, 10 Aug 2017 00:41:00 -0400
changeset 423529 05d3c1eb0b02e8b9553ead543037614f0abc4911
parent 423528 6fa2ccf0f6ce6e6d9a86fe21b7dae8a5fbb2eb6b
child 423530 220da0b3e32deaf135134938df6b51f55aff1c26
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskevinjones, lizzard
bugs1387783
milestone56.0
Bug 1387783 - Add lazy browser shims for fullZoom and textZoom. r=kevinjones, a=lizzard
browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -2238,16 +2238,20 @@
                   };
                   break;
                 case "currentURI":
                   getter = () => {
                     let url = SessionStore.getLazyTabValue(aTab, "url");
                     return Services.io.newURI(url);
                   };
                   break;
+                case "fullZoom":
+                case "textZoom":
+                  getter = () => 1;
+                  break;
                 case "getTabBrowser":
                   getter = () => {
                     return () => {
                       return this;
                     };
                   };
                   break;
                 case "isRemoteBrowser":