Bug 1392352 - Part 2 - Translate the tabbrowser implementation into a JS class;r=mconley,r=dao CLOSED TREE
We keep the XBL binding around for <content>, <constructor>, and <destructor>. This can eventually be migrated to a Custom Element once we have platform support, but in the meantime this is a way to get the many thousands of LOC into a JS class. MozReview-Commit-ID: 1dCQp527yF9
This commit is contained in:
@@ -376,7 +376,7 @@ var FullScreen = {
|
||||
// request was initiated from an in-process browser, we need
|
||||
// to get its corresponding browser here.
|
||||
let browser;
|
||||
if (event.target == gBrowser) {
|
||||
if (event.target == gBrowser.container) {
|
||||
browser = event.originalTarget;
|
||||
} else {
|
||||
let topWin = event.target.ownerGlobal.top;
|
||||
|
||||
Reference in New Issue
Block a user