mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 608628 - Remove obsolete aMask parameter from tabbrowser's addProgressListener method. r=gavin
This commit is contained in:
parent
c7ac959be9
commit
329c813aa2
@ -1439,7 +1439,7 @@ function prepareForStartup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hook up UI through progress listener
|
// hook up UI through progress listener
|
||||||
gBrowser.addProgressListener(window.XULBrowserWindow, Components.interfaces.nsIWebProgress.NOTIFY_ALL);
|
gBrowser.addProgressListener(window.XULBrowserWindow);
|
||||||
gBrowser.addTabsProgressListener(window.TabsProgressListener);
|
gBrowser.addTabsProgressListener(window.TabsProgressListener);
|
||||||
|
|
||||||
// setup our common DOMLinkAdded listener
|
// setup our common DOMLinkAdded listener
|
||||||
|
@ -1820,9 +1820,12 @@
|
|||||||
|
|
||||||
<method name="addProgressListener">
|
<method name="addProgressListener">
|
||||||
<parameter name="aListener"/>
|
<parameter name="aListener"/>
|
||||||
<parameter name="aMask"/>
|
|
||||||
<body>
|
<body>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
NS_ASSERT(arguments.length == 1,
|
||||||
|
"gBrowser.addProgressListener was called with a second argument, " +
|
||||||
|
"which is not supported. See bug 608628.");
|
||||||
|
|
||||||
if (!this.mAddProgressListenerWasCalled) {
|
if (!this.mAddProgressListenerWasCalled) {
|
||||||
this.mAddProgressListenerWasCalled = true;
|
this.mAddProgressListenerWasCalled = true;
|
||||||
this.tabContainer.updateVisibility();
|
this.tabContainer.updateVisibility();
|
||||||
|
Loading…
Reference in New Issue
Block a user