Remove needless access to 'arguments'.
This commit is contained in:
parent
ee1eec680d
commit
b779d9306a
@ -1570,7 +1570,7 @@ var TreeStyleTabBase = {
|
|||||||
*/
|
*/
|
||||||
readyToOpenChildTabNow : function TSTBase_readyToOpenChildTabNow(aFrameOrTabBrowser, aMultiple) /* PUBLIC API */
|
readyToOpenChildTabNow : function TSTBase_readyToOpenChildTabNow(aFrameOrTabBrowser, aMultiple) /* PUBLIC API */
|
||||||
{
|
{
|
||||||
if (this.readyToOpenChildTab.apply(this, arguments)) {
|
if (this.readyToOpenChildTab(aFrameOrTabBrowser, aMultiple, false)) {
|
||||||
let self = this;
|
let self = this;
|
||||||
this.Deferred.next(function() {
|
this.Deferred.next(function() {
|
||||||
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
||||||
@ -1622,7 +1622,7 @@ var TreeStyleTabBase = {
|
|||||||
*/
|
*/
|
||||||
readyToOpenNextSiblingTabNow : function TSTBase_readyToOpenNextSiblingTabNow(aFrameOrTabBrowser) /* PUBLIC API */
|
readyToOpenNextSiblingTabNow : function TSTBase_readyToOpenNextSiblingTabNow(aFrameOrTabBrowser) /* PUBLIC API */
|
||||||
{
|
{
|
||||||
if (this.readyToOpenNextSiblingTab.apply(this, arguments)) {
|
if (this.readyToOpenNextSiblingTab(aFrameOrTabBrowser)) {
|
||||||
let self = this;
|
let self = this;
|
||||||
this.Deferred.next(function() {
|
this.Deferred.next(function() {
|
||||||
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
||||||
@ -1660,7 +1660,7 @@ var TreeStyleTabBase = {
|
|||||||
readyToOpenNewTabGroupNow : function TSTBase_readyToOpenNewTabGroupNow(aFrameOrTabBrowser) /* PUBLIC API */
|
readyToOpenNewTabGroupNow : function TSTBase_readyToOpenNewTabGroupNow(aFrameOrTabBrowser) /* PUBLIC API */
|
||||||
{
|
{
|
||||||
|
|
||||||
if (this.readyToOpenNewTabGroup.apply(this, arguments)) {
|
if (this.readyToOpenNewTabGroup(aFrameOrTabBrowser, null, null)) {
|
||||||
let self = this;
|
let self = this;
|
||||||
this.Deferred.next(function() {
|
this.Deferred.next(function() {
|
||||||
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
self.stopToOpenChildTab(aFrameOrTabBrowser);
|
||||||
|
@ -977,7 +977,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
catch(e) {
|
catch(e) {
|
||||||
dump(e+'\n'+e.stack+'\n');
|
dump(e+'\n'+e.stack+'\n');
|
||||||
}
|
}
|
||||||
return this.__treestyletab__stop.apply(this, arguments);
|
return this.__treestyletab__stop.apply(this, aTab);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user