author | Kartikaya Gupta <kgupta@mozilla.com> |
Tue, 01 Sep 2015 13:17:25 -0400 | |
changeset 260287 | 33817a41e2e17ee5d86c27048df4feb39a24eda4 |
parent 260286 | bcccb8af005d7d83aecc584709a10c6f3ee032f7 |
child 260288 | aec72f4f3fa82e6e57da1e16a93d38ff33b659a9 |
push id | 14971 |
push user | kgupta@mozilla.com |
push date | Tue, 01 Sep 2015 17:17:52 +0000 |
treeherder | fx-team@33817a41e2e1 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mfinkle |
bugs | 1149000 |
milestone | 43.0a1 |
--- a/mobile/android/chrome/content/browser.js +++ b/mobile/android/chrome/content/browser.js @@ -1289,16 +1289,18 @@ var BrowserApp = { Cu.reportError("Error trying to select tab (tab doesn't exist)"); return; } // There's nothing to do if the tab is already selected if (aTab == this.selectedTab) return; + this.selectedBrowser.contentDocument.mozCancelFullScreen(); + let message = { type: "Tab:Select", tabID: aTab.id }; Messaging.sendRequest(message); }, /**