Bug 1535949 - browser.js: Fix typo in the identifier r=JanH
authorSylvestre Ledru <sledru@mozilla.com>
Sun, 17 Mar 2019 20:41:46 +0000
changeset 464714 0699c6be752a56ecf666e4611959ac3be7a90841
parent 464713 d8ead6a3396d08a4f5b38188ae5130a484b39ea3
child 464715 ded91213a778fd33682159dbc42b7191fd290fa7
push id112470
push useropoprus@mozilla.com
push dateMon, 18 Mar 2019 10:13:23 +0000
treeherdermozilla-inbound@9421b477d67c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersJanH
bugs1535949
milestone67.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 1535949 - browser.js: Fix typo in the identifier r=JanH Differential Revision: https://phabricator.services.mozilla.com/D23812
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -1320,17 +1320,17 @@ var BrowserApp = {
     }
 
     let step = (fromPosition < toPosition) ? 1 : -1;
     for (let i = fromPosition; i != toPosition; i += step) {
       this._tabs[i] = this._tabs[i + step];
     }
     this._tabs[toPosition] = movedTab;
 
-    let evt = new UIEvent("TabMove", {"bubbles":true, "cancellable":false, "view":window, "detail":fromPosition});
+    let evt = new UIEvent("TabMove", {"bubbles":true, "cancelable":false, "view":window, "detail":fromPosition});
     this.tabs[toPosition].browser.dispatchEvent(evt);
   },
 
   // Use this method to select a tab from JS. This method sends a message
   // to Java to select the tab in the Java UI (we'll get a Tab:Selected message
   // back from Java when that happens).
   selectTab: function selectTab(aTab) {
     if (!aTab) {