Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. CLOSED TREE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 23 May 2019 00:20:31 +0200
changeset 475043 329fc8b82aebe2cbc5ae2cca2324cc2fa039ddeb
parent 475042 dae7f318b328d2cdd97183b3d36db575d4239115
child 475044 281516b149298ba4a6832846a3eb1d236e36ef1d
push id86140
push userarchaeopteryx@coole-files.de
push dateWed, 22 May 2019 22:24:38 +0000
treeherderautoland@329fc8b82aeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1543387
milestone69.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 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. CLOSED TREE
mobile/android/chrome/geckoview/GeckoViewContentChild.js
--- a/mobile/android/chrome/geckoview/GeckoViewContentChild.js
+++ b/mobile/android/chrome/geckoview/GeckoViewContentChild.js
@@ -236,17 +236,17 @@ class GeckoViewContentChild extends Geck
                   if (data.scroll) {
                     SessionStoreUtils.restoreScrollPosition(frame, data);
                   }
                 });
               }
               delete this._savedState;
               removeEventListener("pageshow", scrollRestore);
             }
-          }
+          };
 
           addEventListener("pageshow", scrollRestore, {capture: true, mozSystemGroup: true});
 
           if (!this.progressFilter) {
             this.progressFilter =
               Cc["@mozilla.org/appshell/component/browser-status-filter;1"]
               .createInstance(Ci.nsIWebProgress);
             this.flags = Ci.nsIWebProgress.NOTIFY_LOCATION;