diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index e7a21d0f..bdaf2ee4 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1019,7 +1019,7 @@ catch(e) { /* PUBLIC API */ let event = document.createEvent('Events'); - event.initEvent('TreeStyleTabFocusSwitchingKeyDown', true, true); + event.initEvent('TreeStyleTabFocusSwitchingKeyDown', true, false); event.sourceEvent = aEvent; this.browser.dispatchEvent(event); }, @@ -1061,7 +1061,7 @@ catch(e) { ) { /* PUBLIC API */ let event = document.createEvent('Events'); - event.initEvent('TreeStyleTabFocusSwitchingStart', true, true); + event.initEvent('TreeStyleTabFocusSwitchingStart', true, false); event.scrollDown = scrollDown; event.scrollUp = scrollUp; event.standBy = standBy; @@ -1076,7 +1076,7 @@ catch(e) { /* PUBLIC API */ let (event) { event = document.createEvent('Events'); - event.initEvent('TreeStyleTabFocusSwitchingEnd', true, true); + event.initEvent('TreeStyleTabFocusSwitchingEnd', true, false); event.scrollDown = scrollDown; event.scrollUp = scrollUp; event.standBy = standBy; diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 2a6c1e24..dbb018b6 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1072,7 +1072,7 @@ TreeStyleTabBrowser.prototype = { if (aOldPosition == aNewPosition) return; var event = document.createEvent('Events'); - event.initEvent(aType, true, true); + event.initEvent(aType, true, false); event.oldPosition = aOldPosition; event.newPosition = aNewPosition; this.mTabBrowser.dispatchEvent(event); @@ -3076,7 +3076,7 @@ TreeStyleTabBrowser.prototype = { ) { /* PUBLIC API */ let event = document.createEvent('Events'); - event.initEvent('TreeStyleTabAttached', true, true); + event.initEvent('TreeStyleTabAttached', true, false); event.parentTab = aParent; aChild.dispatchEvent(event); return; @@ -3182,7 +3182,7 @@ TreeStyleTabBrowser.prototype = { /* PUBLIC API */ var event = document.createEvent('Events'); - event.initEvent('TreeStyleTabAttached', true, true); + event.initEvent('TreeStyleTabAttached', true, false); event.parentTab = aParent; aChild.dispatchEvent(event); }, @@ -3223,7 +3223,7 @@ TreeStyleTabBrowser.prototype = { /* PUBLIC API */ var event = document.createEvent('Events'); - event.initEvent('TreeStyleTabParted', true, true); + event.initEvent('TreeStyleTabParted', true, false); aChild.dispatchEvent(event); if (this.isGroupTab(parentTab) && !this.hasChildTabs(parentTab)) { @@ -3567,7 +3567,7 @@ TreeStyleTabBrowser.prototype = { /* PUBLIC API */ var event = document.createEvent('Events'); - event.initEvent('TreeStyleTabCollapsedStateChange', true, true); + event.initEvent('TreeStyleTabCollapsedStateChange', true, false); event.collapsed = aCollapse; aTab.dispatchEvent(event); diff --git a/content/treestyletab/treestyletabbrowser_autoHide.js b/content/treestyletab/treestyletabbrowser_autoHide.js index 68b0251b..a3ca6f53 100644 --- a/content/treestyletab/treestyletabbrowser_autoHide.js +++ b/content/treestyletab/treestyletabbrowser_autoHide.js @@ -517,7 +517,7 @@ TreeStyleTabBrowserAutoHide.prototype = { { /* PUBLIC API */ var event = document.createEvent('Events'); - event.initEvent('TreeStyleTabAutoHideStateChanging', true, true); + event.initEvent('TreeStyleTabAutoHideStateChanging', true, false); event.shown = this.expanded; event.state = this.state; this.mOwner.mTabBrowser.dispatchEvent(event); @@ -527,7 +527,7 @@ TreeStyleTabBrowserAutoHide.prototype = { { /* PUBLIC API */ var event = document.createEvent('Events'); - event.initEvent('TreeStyleTabAutoHideStateChange', true, true); + event.initEvent('TreeStyleTabAutoHideStateChange', true, false); event.shown = this.expanded; event.state = this.state; event.xOffset = this.XOffset;