We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa5201 commit e282189Copy full SHA for e282189
ācomponents/tabs/BrowserTabs.sys.mjs
@@ -186,18 +186,13 @@ BrowserTabs.prototype = {
186
) {
187
const browser = /** @type {ChromeBrowser} */ (tab.webContents);
188
189
- const { STATE_START, STATE_STOP, STATE_IS_NETWORK } =
190
- Ci.nsIWebProgressListener;
191
-
192
this._callProgressListenerEvent(
193
browser,
194
"onStateChange",
195
browser.webProgress,
196
null,
197
- tab.progress && !this.isBusy
198
- ? STATE_START | STATE_IS_NETWORK
199
- : STATE_STOP | STATE_IS_NETWORK,
200
- ""
+ listener.stateFlags,
+ listener.status
201
);
202
}
203
},
0 commit comments