summaryrefslogtreecommitdiffstats
path: root/browser/actors/RefreshBlockerChild.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'browser/actors/RefreshBlockerChild.sys.mjs')
-rw-r--r--browser/actors/RefreshBlockerChild.sys.mjs6
1 files changed, 3 insertions, 3 deletions
diff --git a/browser/actors/RefreshBlockerChild.sys.mjs b/browser/actors/RefreshBlockerChild.sys.mjs
index 6ba63298b1..f5e9611144 100644
--- a/browser/actors/RefreshBlockerChild.sys.mjs
+++ b/browser/actors/RefreshBlockerChild.sys.mjs
@@ -50,7 +50,7 @@ var progressListener = {
* the STATE_IS_WINDOW case, which will clear any mappings from
* blockedWindows.
*/
- onStateChange(aWebProgress, aRequest, aStateFlags, aStatus) {
+ onStateChange(aWebProgress, aRequest, aStateFlags) {
if (
aStateFlags & Ci.nsIWebProgressListener.STATE_IS_WINDOW &&
aStateFlags & Ci.nsIWebProgressListener.STATE_STOP
@@ -64,7 +64,7 @@ var progressListener = {
* onRefreshAttempted has already fired for this DOM Window, will
* send the appropriate refresh blocked data to the parent.
*/
- onLocationChange(aWebProgress, aRequest, aLocation, aFlags) {
+ onLocationChange(aWebProgress) {
let win = aWebProgress.DOMWindow;
if (this.blockedWindows.has(win)) {
let data = this.blockedWindows.get(win);
@@ -180,7 +180,7 @@ export class RefreshBlockerObserverChild extends JSProcessActorChild {
this.filtersMap = new Map();
}
- observe(subject, topic, data) {
+ observe(subject, topic) {
switch (topic) {
case "webnavigation-create":
case "chrome-webnavigation-create":