Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. r=snorp a=jcristau
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 23 May 2019 00:20:31 +0200
changeset 533411 d37e9d3c46d7babf800258e696687c18370c22df
parent 533410 dbf2d7493d851d2a1f57b3a9d414ca5bb99ed31f
child 533412 b03b23d73d3c50e43c7afe75705ca8fa2e711385
push id11312
push usernbeleuzu@mozilla.com
push dateMon, 27 May 2019 09:34:11 +0000
treeherdermozilla-beta@617d77613a30 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp, jcristau
bugs1543387
milestone68.0
Bug 1543387 - Ignore initial about:blank load when restoring scroll position: add missing semicolon. r=snorp a=jcristau
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;