Closed Bug 1864896 Opened 2 years ago Closed 1 year ago

Turn on argument linting from no-unused-vars

Categories

(Developer Infrastructure :: Lint and Formatting, task)

Tracking

(firefox126 fixed)

RESOLVED FIXED
Tracking Status
firefox126 --- fixed

People

(Reporter: Gijs, Assigned: mossop)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(66 files, 3 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

no-unused-vars currently ignores unused function arguments.

Running this in browser/components/ (as a sample) finds about 220 issues.

A large portion of these seem to be cases where the method signature is defined elsewhere (e.g. handleEvent(event), observe(subject, topic, data)). It would be nice if we could ignore those, but it looks like eslint does not have a direct facility for this. You can specify patterns of variables to ignore but of course ignoring all arguments called data would probably not be great.

One option would be to switch code to use _ prefixes for unused arguments to make it explicit, and that could be a solution for these cases. This is an example given in the eslint docs with the argsIgnorePattern: /^_/ option, so is presumably a wider convention.

Thoughts on doing this?

Flags: needinfo?(standard8)
Flags: needinfo?(dtownsend)

I see around 800 issues, but I'm probably configuring it in a different place.

As you indicate there are two groups - the listener/observer/callback style of functions whose interfaces are defined elsewhere, and the functions which are being defined.

For the listener cases, I do find that it is often useful to have the arguments there, as they help remind me what the options are, especially when potentially extending a function. In those cases having _ would be a little annoying as it makes it harder to know what the item being skipped actually is. We could possibly use argsIgnorePattern: /^_.+/ as the option instead to enforce more than just _.

For the case where the code is defining the function, I think it is definitely useful - VS Code highlights this, but not everyone uses VS Code, nor will they necessarily spot it. There's definitely some places in our code where we have unused parameters that look wrong, and as a result we're unnecessarily passing extra items to those functions. These cases weren't always at the end of the arguments, some were at the start as well.

I think it could be quite a bit of work to enable, but I do think it would be worth it to help ensure code is tidied, especially when refactoring. To aid the roll-out we could potentially enable on non-test code first, and then think about test code later. From what I've seen, it would probably be worth enabling it on both eventually.

Flags: needinfo?(standard8)

(In reply to Mark Banner (:standard8) from comment #1)

I see around 800 issues, but I'm probably configuring it in a different place.

As you indicate there are two groups - the listener/observer/callback style of functions whose interfaces are defined elsewhere, and the functions which are being defined.

For the listener cases, I do find that it is often useful to have the arguments there, as they help remind me what the options are, especially when potentially extending a function. In those cases having _ would be a little annoying as it makes it harder to know what the item being skipped actually is. We could possibly use argsIgnorePattern: /^_.+/ as the option instead to enforce more than just _.

Yes, sorry, I did mean that we'd use _data or _event rather than just _.

(In reply to :Gijs (he/him) from comment #0)

A large portion of these seem to be cases where the method signature is defined elsewhere (e.g. handleEvent(event), observe(subject, topic, data)). It would be nice if we could ignore those, but it looks like eslint does not have a direct facility for this. You can specify patterns of variables to ignore but of course ignoring all arguments called data would probably not be great.

But if the arguments aren't used in the function then not including them in the function signature is fine. Why would we want to leave them in?

Flags: needinfo?(dtownsend)

(In reply to Dave Townsend [:mossop] from comment #3)

(In reply to :Gijs (he/him) from comment #0)

A large portion of these seem to be cases where the method signature is defined elsewhere (e.g. handleEvent(event), observe(subject, topic, data)). It would be nice if we could ignore those, but it looks like eslint does not have a direct facility for this. You can specify patterns of variables to ignore but of course ignoring all arguments called data would probably not be great.

But if the arguments aren't used in the function then not including them in the function signature is fine. Why would we want to leave them in?

I think it helps make it clearer that it's an nsIObserver / event listener thingy, as opposed to a random function that has no args (esp. when the function has no name - nsIObserver has the idl function annotation so you can pass (subject, topic, data) => doStuff() to addObserver), and makes it obvious that input is available that could be used to help guide decisions inside the function, as well as reducing churn both for enabling the rule and when whether or not you use the arg changes (though that's moot if we go the prefix route as you'd still need to touch the line). But it's a fair point, we could also "just" strip everything that's unused, I guess - do you feel strongly we should?

Flags: needinfo?(dtownsend)

(In reply to :Gijs (he/him) from comment #4)

(In reply to Dave Townsend [:mossop] from comment #3)

(In reply to :Gijs (he/him) from comment #0)

A large portion of these seem to be cases where the method signature is defined elsewhere (e.g. handleEvent(event), observe(subject, topic, data)). It would be nice if we could ignore those, but it looks like eslint does not have a direct facility for this. You can specify patterns of variables to ignore but of course ignoring all arguments called data would probably not be great.

But if the arguments aren't used in the function then not including them in the function signature is fine. Why would we want to leave them in?

I think it helps make it clearer that it's an nsIObserver / event listener thingy, as opposed to a random function that has no args (esp. when the function has no name - nsIObserver has the idl function annotation so you can pass (subject, topic, data) => doStuff() to addObserver), and makes it obvious that input is available that could be used to help guide decisions inside the function, as well as reducing churn both for enabling the rule and when whether or not you use the arg changes (though that's moot if we go the prefix route as you'd still need to touch the line). But it's a fair point, we could also "just" strip everything that's unused, I guess - do you feel strongly we should?

Honestly not too sure. If we think it is useful to mark observer functions using the arguments does that hold for other callback-like functions, should anything passed to Array.map be (item, index, arr) => {}? I think not but I can't say why that's different.

(In reply to Dave Townsend [:mossop] from comment #5)

Honestly not too sure. If we think it is useful to mark observer functions using the arguments does that hold for other callback-like functions, should anything passed to Array.map be (item, index, arr) => {}? I think not but I can't say why that's different.

I guess I'd think that for 99% of map functions I've ever written, a reference to the array or index are not useful. For observe(), I'd hazard a guess that in more than half of all cases outside of tests I'd want at least the topic, and often (maybe 10-30% of cases?) the subject and/or data as well.

But the flip side of my argument is that if someone were to write observe() {} or handleEvent() {}, the linter can't fault them for not listing the arguments that are technically still provided to the function. So wanting to list the args for education/"contract" purposes is only enforceable by convention / humans, which is bad. To change that we'd need typescript or something...

So even though, from a manual review PoV I'd never really comment on people having an unused event or subject/topic/data param for these functions, so the argument there would be to avoid touching code / making it harder to start using those args. But we can't really avoid touching that code while enabling the rule unless we add eslint-disable-next-line comments which is horrible so I don't want to do that. There's also no way to ignore arguments based on the name of the function rather than the argument.

So I think maybe we should just accept that these are gonna get clobbered by the linter if not used? There are probably already (many?) instances of observe() that don't list the last data arg (esp. when passing just an arrow function). Admittedly, there are only 3 cases of handleEvent without an arg in the entire tree... https://searchfox.org/mozilla-central/search?q=handleEvent%28%29+%7B&path=&case=true&regexp=false but perhaps that speaks more to using the event? I haven't checked how many of the with-arg instances would be removed by the linter.

Sorry, lots of waffling to say that maybe I'm changing my mind and we should just go ahead and clobber all of this stuff. Perhaps it's shaped by just digging into some blame/annotate stuff and having to jump past a few eslint revisions. Comparatively, touching these lines isn't going to be the end of the world...

(In reply to :Gijs (he/him) from comment #6)

(In reply to Dave Townsend [:mossop] from comment #5)

Honestly not too sure. If we think it is useful to mark observer functions using the arguments does that hold for other callback-like functions, should anything passed to Array.map be (item, index, arr) => {}? I think not but I can't say why that's different.

I guess I'd think that for 99% of map functions I've ever written, a reference to the array or index are not useful. For observe(), I'd hazard a guess that in more than half of all cases outside of tests I'd want at least the topic, and often (maybe 10-30% of cases?) the subject and/or data as well.

Right. But I think those arguments are either useful or not and you know to add them when you're writing the function. I think it's rare that you realise later that you do actually need the data argument to an observe function. Maybe the main case being where you start observing a new topic for the same function at which point you know the function is an observer callback anyway.

But the flip side of my argument is that if someone were to write observe() {} or handleEvent() {}, the linter can't fault them for not listing the arguments that are technically still provided to the function. So wanting to list the args for education/"contract" purposes is only enforceable by convention / humans, which is bad. To change that we'd need typescript or something...

It's probably possible with a custom eslint rule, but it's work. And if we're only relying on function name I would expect most folks to recognise handleEvent and observe as standard functions and be able to find relatively easily what arguments they can take.

Sorry, lots of waffling to say that maybe I'm changing my mind and we should just go ahead and clobber all of this stuff. Perhaps it's shaped by just digging into some blame/annotate stuff and having to jump past a few eslint revisions. Comparatively, touching these lines isn't going to be the end of the world...

Ok now for the spanner in the works. I just attempt to turn this on, eslint gave me over 7,000 errors (that does include test files though), and the rule isn't automatically fixable so we'd have to correct everything by hand. I'm inclined to say that that isn't worth it.

Flags: needinfo?(dtownsend)

Depends on D194400

Attachment #9365204 - Attachment is obsolete: true
Attachment #9365024 - Attachment is obsolete: true

The WIP rule can now fix the entire tree and leaves the following errors:

  • jsdoc/check-param-names, descriptions of arguments that have been removed (114 instances).
  • mozilla/no-unused-args, arguments that cannot be removed automatically because while they are never read from they are written to (20 instances).
  • no-empty-pattern, some array destructurs are pointless but we can't remove them from the function arguments automatically (3 instances).

It fixes some 4311 occurrences.

So enough to say that this seems viable to do. So we should figure out if we want to do this for sure and what the plan should be. I'd suggest something like this:

  1. Announce on the mailing lists a plan to do this.
  2. Create patches for various parts of the tree to split up the review workload.
  3. Land.

After that we may be better off sticking with the eslint provided rule for checking this rather than the new version that supports autofixing. I found it to be a problem during development since I have my editor set to fix all lint issues automatically whenever I save, and if you save half-way through writing a new function it will strip the arguments for you.

Flags: needinfo?(standard8)
Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Dave Townsend [:mossop] from comment #11)

The WIP rule can now fix the entire tree and leaves the following errors:

  • jsdoc/check-param-names, descriptions of arguments that have been removed (114 instances).

Follow-up bug and add eslint ignore comments for now? Then we can burn this down and potentially update callers that pass these now-unneeded arguments...

  • mozilla/no-unused-args, arguments that cannot be removed automatically because while they are never read from they are written to (20 instances).

I imagine this needs manual fixing?

  • no-empty-pattern, some array destructurs are pointless but we can't remove them from the function arguments automatically (3 instances).

It fixes some 4311 occurrences.

So enough to say that this seems viable to do. So we should figure out if we want to do this for sure and what the plan should be. I'd suggest something like this:

  1. Announce on the mailing lists a plan to do this.
  2. Create patches for various parts of the tree to split up the review workload.
  3. Land.

After that we may be better off sticking with the eslint provided rule for checking this rather than the new version that supports autofixing. I found it to be a problem during development since I have my editor set to fix all lint issues automatically whenever I save, and if you save half-way through writing a new function it will strip the arguments for you.

Agreed on all counts. I think we should additionally split the test-only changes into their own patch(es) because they're lower-impact/risk, but other than that this all sounds good to me.

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to :Gijs (he/him) from comment #12)

(In reply to Dave Townsend [:mossop] from comment #11)

The WIP rule can now fix the entire tree and leaves the following errors:

  • jsdoc/check-param-names, descriptions of arguments that have been removed (114 instances).

Follow-up bug and add eslint ignore comments for now? Then we can burn this down and potentially update callers that pass these now-unneeded arguments...

It might just be as easy to remove those doc comments, they aren't doing anything at that point.

  • mozilla/no-unused-args, arguments that cannot be removed automatically because while they are never read from they are written to (20 instances).

I imagine this needs manual fixing?

Yes, some investigation too. The one case I looked at was in a test and made me wonder if the test was faulty.

I'm fine with the plan here - I think it'll help clean up unused params and simplify the callers.

(In reply to Dave Townsend [:mossop] from comment #11)

  1. Announce on the mailing lists a plan to do this.
  2. Create patches for various parts of the tree to split up the review workload.
  3. Land.

After that we may be better off sticking with the eslint provided rule for checking this rather than the new version that supports autofixing. I found it to be a problem during development since I have my editor set to fix all lint issues automatically whenever I save, and if you save half-way through writing a new function it will strip the arguments for you.

I think we should switch to the ESLint one eventually if we're able to (better for maintenance), whilst autofix for this is useful for tree-wide operations, I do wonder about it getting in the way.

One thing I did wonder about is would it work to make mozilla/no-unused-args use suggestions? According to the command line docs, you can get ESLint to auto fix only suggestions. What I don't know is how VS Code and others surface suggestions, I'd have assumed they wouldn't auto-fix, but do you still get the UI to accept the suggestion?

Flags: needinfo?(standard8)

(In reply to Mark Banner (:standard8) from comment #14)

One thing I did wonder about is would it work to make mozilla/no-unused-args use suggestions? According to the command line docs, you can get ESLint to auto fix only suggestions. What I don't know is how VS Code and others surface suggestions, I'd have assumed they wouldn't auto-fix, but do you still get the UI to accept the suggestion?

That's a good call. In VS Code, at least how I have it configured which I assume is fairly normal, you do still see the error and get UI to accept the fix but it doesn't auto-fix on save anymore. Worth noting that you also get a similar suggestion to fix from VS Code's built-in TypeScript functionality.

Assignee: nobody → dtownsend
Attachment #9365023 - Attachment is obsolete: true
Keywords: leave-open
Blocks: 1868630
No longer blocks: 1868630
Depends on: 1868630

I see this is also considering autofixing class methods, which I don't think is a pure win. Even without typescript[1], it is considered good practice to define methods in base classes that don't do anything (and document their arguments with JSDoc) that can (or need) to be overridden in a subclass. Removing such arguments would result in invalid JSDoc comments.

[1] With typescript, this is actually a requirement, as the overriding function needs to have a signature that's compatible with the base one:

class A {
  /** override to customize Foo */
  do() {}
}

class B extends A {
  /** @param {string} foo */
  do(foo) {
    console.log("B", foo);
  }
}

This is a type-checking error (in JSDoc-hinted and) typescript-checked javascript. Btw, I have a patch up for progressively adding type-checks to /toolkit/components/extensions code in bug 1869678, and I'm fairly confident TypeScript is a better tool for trying to address the root problem here.

(In reply to Tomislav Jovanovic :zombie from comment #19)

I see this is also considering autofixing class methods, which I don't think is a pure win. Even without typescript[1], it is considered good practice to define methods in base classes that don't do anything (and document their arguments with JSDoc) that can (or need) to be overridden in a subclass. Removing such arguments would result in invalid JSDoc comments.

The number of places we actually use base classes is fairly small right now and until we have something better this isn't a distinction we can reliably make so we either have to somehow turn off this rule for class methods, which isn't possible in the eslint provided rule and doesn't account for only the overrides case, or accept this. It was brought up in the mailing list discussion but it was agreed to go ahead as-is.

Can you elaborate on why JSDoc comments would be invalid?

I'm fairly confident TypeScript is a better tool for trying to address the root problem here.

Sure, but we're a long ways off being able to use TypeScript across the codebase.

The number of places we actually use base classes is fairly small right now

Some of these are WebIDL-based parent classes, but I don't think this is small:
https://searchfox.org/mozilla-central/search?q=class.%2Bextends&path=*.*js&regexp=true

Can you elaborate on why JSDoc comments would be invalid?

class A {
  /** @param {string} foo */
  do(foo) {}
}

This would be the source of the base class before removal of foo. After removal, the JSDoc referencing a non-existing argument is invalid.

Sure, but we're a long ways off being able to use TypeScript across the codebase.

It looks more feasible to me than a few weeks ago, now that I have PoC in bug 1869678. Besides what's already there, I also have our [ChromeOnly] WebIDL definitions converted to a typescript lib-dom.d.ts locally (using a slightly patched TypeScript-DOM-lib-generator). I'll write up a case study/proposal after the holiday break if things work out as expected.

Removing unused arguments could be a bit annoying during development, when it's a WIP patch and you just haven't had the time to utilize the argument yet.

(In reply to Magnus Melin [:mkmelin] from comment #22)

Removing unused arguments could be a bit annoying during development, when it's a WIP patch and you just haven't had the time to utilize the argument yet.

The rule is not automatically fixed. You'll get a error like you do with other items, but it won't get removed.

(In reply to Tomislav Jovanovic :zombie from comment #21)

The number of places we actually use base classes is fairly small right now

Some of these are WebIDL-based parent classes, but I don't think this is small:
https://searchfox.org/mozilla-central/search?q=class.%2Bextends&path=*.*js&regexp=true

Can you elaborate on why JSDoc comments would be invalid?

class A {
  /** @param {string} foo */
  do(foo) {}
}

This would be the source of the base class before removal of foo. After removal, the JSDoc referencing a non-existing argument is invalid.

Right but that jsdoc comment won't be there of course.

Sure, but we're a long ways off being able to use TypeScript across the codebase.

It looks more feasible to me than a few weeks ago, now that I have PoC in bug 1869678. Besides what's already there, I also have our [ChromeOnly] WebIDL definitions converted to a typescript lib-dom.d.ts locally (using a slightly patched TypeScript-DOM-lib-generator). I'll write up a case study/proposal after the holiday break if things work out as expected.

With modules only maybe, I'll be interested to see that as it may fit in with my plans for the coming years. But looking at TypeScript it doesn't appear that it allows unused parameters in base classes either. See the example here where it throws an error on an unused argument in a base class despite another class making use of it.

So essentially the issue with unused parameters in base classes is the same as that already discussed in the mailing list. That TypeScript will throw an error if we manage to get around to using it adds some weight but is also helpful. Right now we can't easily quantify the number of unused parameters in base classes that we shouldn't remove. My intuition tells me that it is lower than the number that we should remove. And if we manage to get TypeScript stood up then it will tell us exactly the places that we were wrong making fixing fairly straightforward. So I think we're better off going ahead with the plan. I realise that the final plan isn't actually documented in this bug as it altered slightly in the mailing list discussion so here is what we're doing:

  1. Via a combination of automated tooling and some manual fixups we're going to remove all parameters (and their jsdoc comments) from functions where the no-unused-vars rule fails using the planned config.
  2. Then we turn on the no-unused-vars config which will error on unused parameters after any used parameters but allowing parameters that are prefixed with _.

As Mark mentioned the rule will not auto-fix as that is quite annoying in development (and also the eslint provided rule doesn't support autofixing anyway).

Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b47cdc0641c Remove some unused function arguments from a DOM test. r=dom-core,peterv https://hg.mozilla.org/integration/autoland/rev/27503c968e94 Remove some unused arguments from webextension APIs. r=geckoview-reviewers,extension-reviewers,robwu,owlish
Attachment #9388146 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (general). → Bug 1864896: Autofix unused function arguments (general).
Attachment #9388082 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/base/content). → Bug 1864896: Autofix unused function arguments (browser/base/content).
Attachment #9388083 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/components/newtab). → Bug 1864896: Autofix unused function arguments (browser/components/newtab).
Attachment #9388084 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/components/pocket). → Bug 1864896: Autofix unused function arguments (browser/components/pocket).
Attachment #9388085 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/components/preferences). → Bug 1864896: Autofix unused function arguments (browser/components/preferences).
Attachment #9388086 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/components/sessionstore). → Bug 1864896: Autofix unused function arguments (browser/components/sessionstore).
Attachment #9388087 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/components/urlbar). → Bug 1864896: Autofix unused function arguments (browser/components/urlbar).
Attachment #9388088 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (browser/components/urlbar). → Bug 1864896: Remove jsdoc params for removed arguments (browser/components/urlbar).
Attachment #9388089 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat). → Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat).
Attachment #9388090 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (credential management). → Bug 1864896: Autofix unused function arguments (credential management).
Attachment #9388091 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (credential management). → Bug 1864896: Remove jsdoc params for removed arguments (credential management).
Attachment #9388093 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (devtools). → Bug 1864896: Autofix unused function arguments (devtools).
Attachment #9388094 - Attachment description: WIP: Bug 1864896: Remove empty destructuring patterns (devtools). → Bug 1864896: Remove empty destructuring patterns (devtools).
Attachment #9388095 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (docshell). → Bug 1864896: Autofix unused function arguments (docshell).
Attachment #9388096 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (dom). → Bug 1864896: Autofix unused function arguments (dom).
Attachment #9388097 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (downloads). → Bug 1864896: Autofix unused function arguments (downloads).
Attachment #9388098 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (editor). → Bug 1864896: Autofix unused function arguments (editor).
Attachment #9388099 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (experiments). → Bug 1864896: Autofix unused function arguments (experiments).
Attachment #9388100 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (extensions/permissions). → Bug 1864896: Autofix unused function arguments (extensions/permissions).
Attachment #9388101 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (gfx). → Bug 1864896: Autofix unused function arguments (gfx).
Attachment #9388102 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (image). → Bug 1864896: Autofix unused function arguments (image).
Attachment #9388103 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (ipc). → Bug 1864896: Autofix unused function arguments (ipc).
Attachment #9388104 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (js). → Bug 1864896: Autofix unused function arguments (js).
Attachment #9388105 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (layout). → Bug 1864896: Autofix unused function arguments (layout).
Attachment #9388106 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (mobile/android). → Bug 1864896: Autofix unused function arguments (mobile/android).
Attachment #9388107 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (modules/libjar). → Bug 1864896: Autofix unused function arguments (modules/libjar).
Attachment #9388108 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (modules/libpref). → Bug 1864896: Autofix unused function arguments (modules/libpref).
Attachment #9388109 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (netwerk). → Bug 1864896: Autofix unused function arguments (netwerk).
Attachment #9388110 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (parser). → Bug 1864896: Autofix unused function arguments (parser).
Attachment #9388111 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (pip). → Bug 1864896: Autofix unused function arguments (pip).
Attachment #9388112 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (pip). → Bug 1864896: Remove jsdoc params for removed arguments (pip).
Attachment #9388113 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (places). → Bug 1864896: Autofix unused function arguments (places).
Attachment #9388114 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (places). → Bug 1864896: Remove jsdoc params for removed arguments (places).
Attachment #9388115 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (remote). → Bug 1864896: Autofix unused function arguments (remote).
Attachment #9388116 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (remote). → Bug 1864896: Remove jsdoc params for removed arguments (remote).
Attachment #9388117 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (search). → Bug 1864896: Autofix unused function arguments (search).
Attachment #9388118 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (search). → Bug 1864896: Remove jsdoc params for removed arguments (search).
Attachment #9388119 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (security). → Bug 1864896: Autofix unused function arguments (security).
Attachment #9388120 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (services). → Bug 1864896: Autofix unused function arguments (services).
Attachment #9388122 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (storage). → Bug 1864896: Autofix unused function arguments (storage).
Attachment #9388124 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (telemetry). → Bug 1864896: Autofix unused function arguments (telemetry).
Attachment #9388125 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (testing). → Bug 1864896: Autofix unused function arguments (testing).
Attachment #9388127 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit/components/antitracking). → Bug 1864896: Autofix unused function arguments (toolkit/components/antitracking).
Attachment #9388128 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit/components/url-classifier). → Bug 1864896: Autofix unused function arguments (toolkit/components/url-classifier).
Attachment #9388129 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit/content/widgets). → Bug 1864896: Autofix unused function arguments (toolkit/content/widgets).
Attachment #9388130 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit/mozapps/extensions). → Bug 1864896: Autofix unused function arguments (toolkit/mozapps/extensions).
Attachment #9388131 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update). → Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update).
Attachment #9388132 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (tools/lint/eslint/eslint-plugin-mozilla). → Bug 1864896: Autofix unused function arguments (tools/lint/eslint/eslint-plugin-mozilla).
Attachment #9388133 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (tools/profiler). → Bug 1864896: Autofix unused function arguments (tools/profiler).
Attachment #9388134 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (uriloader). → Bug 1864896: Autofix unused function arguments (uriloader).
Attachment #9388137 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (webextensions). → Bug 1864896: Autofix unused function arguments (webextensions).
Attachment #9388138 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (webextensions). → Bug 1864896: Remove jsdoc params for removed arguments (webextensions).
Attachment #9388140 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (widget). → Bug 1864896: Autofix unused function arguments (widget).
Attachment #9388141 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit). → Bug 1864896: Autofix unused function arguments (toolkit).
Attachment #9388144 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser). → Bug 1864896: Autofix unused function arguments (browser).
Attachment #9388145 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (browser). → Bug 1864896: Remove jsdoc params for removed arguments (browser).
See Also: → 1882579
Attachment #9388081 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (accessible). → Bug 1864896: Autofix unused function arguments (accessible).
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b1955ae3e9e2 Autofix unused function arguments (browser/components/newtab). r=omc-reviewers,aminomancer,thecount https://hg.mozilla.org/integration/autoland/rev/06a05e5257d5 Autofix unused function arguments (browser/components/preferences). r=settings-reviewers,Gijs https://hg.mozilla.org/integration/autoland/rev/1abbcaf91693 Autofix unused function arguments (editor). r=masayuki https://hg.mozilla.org/integration/autoland/rev/e48d6928bdcb Autofix unused function arguments (experiments). r=barret https://hg.mozilla.org/integration/autoland/rev/2cd1cc279f99 Autofix unused function arguments (extensions/permissions). r=timhuang

Backed out for causing newtab failures related to bundles.

[task 2024-03-01T10:38:22.767Z] + cd /builds/worker/checkouts/gecko/browser/components/newtab
[task 2024-03-01T10:38:22.767Z] + rm -rf node_modules
[task 2024-03-01T10:38:22.768Z] + npm ci
[task 2024-03-01T10:38:23.362Z] npm WARN ERESOLVE overriding peer dependency
[task 2024-03-01T10:38:23.363Z] npm WARN While resolving: react-test-renderer@16.14.0
[task 2024-03-01T10:38:23.363Z] npm WARN Found: react@16.13.1
[task 2024-03-01T10:38:23.363Z] npm WARN node_modules/react
[task 2024-03-01T10:38:23.363Z] npm WARN   react@"16.13.1" from the root project
[task 2024-03-01T10:38:23.363Z] npm WARN   7 more (@fluent/react, airbnb-prop-types, ...)
[task 2024-03-01T10:38:23.363Z] npm WARN 
[task 2024-03-01T10:38:23.363Z] npm WARN Could not resolve dependency:
[task 2024-03-01T10:38:23.363Z] npm WARN peer react@"^16.14.0" from react-test-renderer@16.14.0
[task 2024-03-01T10:38:23.363Z] npm WARN node_modules/enzyme-adapter-react-16/node_modules/react-test-renderer
[task 2024-03-01T10:38:23.363Z] npm WARN   react-test-renderer@"^16.0.0-0" from enzyme-adapter-react-16@1.15.6
[task 2024-03-01T10:38:23.363Z] npm WARN   node_modules/enzyme-adapter-react-16
[task 2024-03-01T10:38:23.363Z] npm WARN 
[task 2024-03-01T10:38:23.363Z] npm WARN Conflicting peer dependency: react@16.14.0
[task 2024-03-01T10:38:23.363Z] npm WARN node_modules/react
[task 2024-03-01T10:38:23.363Z] npm WARN   peer react@"^16.14.0" from react-test-renderer@16.14.0
[task 2024-03-01T10:38:23.363Z] npm WARN   node_modules/enzyme-adapter-react-16/node_modules/react-test-renderer
[task 2024-03-01T10:38:23.364Z] npm WARN     react-test-renderer@"^16.0.0-0" from enzyme-adapter-react-16@1.15.6
[task 2024-03-01T10:38:23.364Z] npm WARN     node_modules/enzyme-adapter-react-16
[task 2024-03-01T10:38:25.895Z] npm WARN deprecated sinon@12.0.1: 16.1.1
[task 2024-03-01T10:38:26.203Z] 
[task 2024-03-01T10:38:26.203Z] added 590 packages, and audited 591 packages in 3s
[task 2024-03-01T10:38:26.203Z] 
[task 2024-03-01T10:38:26.203Z] 130 packages are looking for funding
[task 2024-03-01T10:38:26.203Z]   run `npm fund` for details
[task 2024-03-01T10:38:26.205Z] 
[task 2024-03-01T10:38:26.205Z] found 0 vulnerabilities
[task 2024-03-01T10:38:26.218Z] + node bin/try-runner.js
[task 2024-03-01T10:38:26.335Z] TEST-START | bundles
[task 2024-03-01T10:38:35.840Z] TEST-UNEXPECTED-FAIL | bundles | Activity Stream bundle out of date
[task 2024-03-01T10:38:35.840Z] TEST-UNEXPECTED-FAIL | bundles | about:asrouter bundle out of date
[task 2024-03-01T10:38:35.841Z] TEST-START | karma /builds/worker/checkouts/gecko/browser/components/newtab
[task 2024-03-01T10:39:00.847Z] webpack was not included as a framework in karma configuration, setting this automatically...
[task 2024-03-01T10:39:00.853Z] -----karma stdout below this line---
[task 2024-03-01T10:39:00.855Z] 
[task 2024-03-01T10:39:00.855Z] > activity-streams@1.14.3 testmc:unit
[task 2024-03-01T10:39:00.855Z] > karma start karma.mc.config.js
[task 2024-03-01T10:39:00.855Z] 
[task 2024-03-01T10:39:00.855Z] 
[task 2024-03-01T10:39:00.855Z] START:
[task 2024-03-01T10:39:00.855Z] Webpack bundling...
Flags: needinfo?(dtownsend)
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/153146ce081c Autofix unused function arguments (browser/components/newtab). r=omc-reviewers,aminomancer,thecount https://hg.mozilla.org/integration/autoland/rev/adba0b352699 Autofix unused function arguments (browser/components/preferences). r=settings-reviewers,Gijs

Backed out for causing node failures.

[task 2024-03-01T16:06:59.515Z] npm WARN ERESOLVE overriding peer dependency
[task 2024-03-01T16:06:59.516Z] npm WARN While resolving: react-test-renderer@16.14.0
[task 2024-03-01T16:06:59.516Z] npm WARN Found: react@16.13.1
[task 2024-03-01T16:06:59.516Z] npm WARN node_modules/react
[task 2024-03-01T16:06:59.516Z] npm WARN   react@"16.13.1" from the root project
[task 2024-03-01T16:06:59.516Z] npm WARN   7 more (@fluent/react, airbnb-prop-types, ...)
[task 2024-03-01T16:06:59.517Z] npm WARN 
[task 2024-03-01T16:06:59.517Z] npm WARN Could not resolve dependency:
[task 2024-03-01T16:06:59.517Z] npm WARN peer react@"^16.14.0" from react-test-renderer@16.14.0
[task 2024-03-01T16:06:59.517Z] npm WARN node_modules/enzyme-adapter-react-16/node_modules/react-test-renderer
[task 2024-03-01T16:06:59.517Z] npm WARN   react-test-renderer@"^16.0.0-0" from enzyme-adapter-react-16@1.15.6
[task 2024-03-01T16:06:59.517Z] npm WARN   node_modules/enzyme-adapter-react-16
[task 2024-03-01T16:06:59.517Z] npm WARN 
[task 2024-03-01T16:06:59.517Z] npm WARN Conflicting peer dependency: react@16.14.0
[task 2024-03-01T16:06:59.517Z] npm WARN node_modules/react
[task 2024-03-01T16:06:59.517Z] npm WARN   peer react@"^16.14.0" from react-test-renderer@16.14.0
[task 2024-03-01T16:06:59.517Z] npm WARN   node_modules/enzyme-adapter-react-16/node_modules/react-test-renderer
[task 2024-03-01T16:06:59.517Z] npm WARN     react-test-renderer@"^16.0.0-0" from enzyme-adapter-react-16@1.15.6
[task 2024-03-01T16:06:59.517Z] npm WARN     node_modules/enzyme-adapter-react-16
[task 2024-03-01T16:07:02.771Z] npm WARN deprecated sinon@12.0.1: 16.1.1
[task 2024-03-01T16:07:03.200Z] 
[task 2024-03-01T16:07:03.200Z] added 590 packages, and audited 591 packages in 4s
[task 2024-03-01T16:07:03.200Z] 
[task 2024-03-01T16:07:03.200Z] 130 packages are looking for funding
[task 2024-03-01T16:07:03.200Z]   run `npm fund` for details
[task 2024-03-01T16:07:03.202Z] 
[task 2024-03-01T16:07:03.202Z] found 0 vulnerabilities
[task 2024-03-01T16:07:03.217Z] + node bin/try-runner.js
[task 2024-03-01T16:07:03.361Z] TEST-START | bundles
[task 2024-03-01T16:07:14.308Z] TEST-UNEXPECTED-FAIL | bundles | about:asrouter bundle out of date
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/674f080c4132 Autofix unused function arguments (browser/components/preferences). r=settings-reviewers,Gijs https://hg.mozilla.org/integration/autoland/rev/fad778a2abfd Autofix unused function arguments (editor). r=masayuki https://hg.mozilla.org/integration/autoland/rev/e4bc66038111 Autofix unused function arguments (experiments). r=barret https://hg.mozilla.org/integration/autoland/rev/74d97829e17b Autofix unused function arguments (extensions/permissions). r=timhuang
Attachment #9388090 - Attachment description: Bug 1864896: Autofix unused function arguments (credential management). → WIP: Bug 1864896: Autofix unused function arguments (credential management).
Attachment #9388091 - Attachment description: Bug 1864896: Remove jsdoc params for removed arguments (credential management). → WIP: Bug 1864896: Remove jsdoc params for removed arguments (credential management).
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32438d22907c Autofix unused function arguments (ipc). r=ipc-reviewers,mccr8 https://hg.mozilla.org/integration/autoland/rev/a04b7236ed7a Autofix unused function arguments (modules/libjar). r=valentin https://hg.mozilla.org/integration/autoland/rev/eace859b61a8 Autofix unused function arguments (modules/libpref). r=KrisWright https://hg.mozilla.org/integration/autoland/rev/89aaa62ca38e Autofix unused function arguments (netwerk). r=kershaw,cookie-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/f9ffc7a620f6 Autofix unused function arguments (places). r=places-reviewers,Standard8 https://hg.mozilla.org/integration/autoland/rev/cff0ad593c6f Remove jsdoc params for removed arguments (places). r=places-reviewers,Standard8
Attachment #9388779 - Attachment description: WIP: Bug 1864896: Polishing autofix of unused function arguments (credential management). → Bug 1864896: Polishing autofix of unused function arguments (credential management).
Regressions: 1883171
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a2c7e0410903 Autofix unused function arguments (remote). r=webdriver-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/1282ba5b87fa Remove jsdoc params for removed arguments (remote). r=webdriver-reviewers,whimboo https://hg.mozilla.org/integration/autoland/rev/346d01e58886 Autofix unused function arguments (search). r=search-reviewers,Standard8 https://hg.mozilla.org/integration/autoland/rev/14d89bbe01dd Remove jsdoc params for removed arguments (search). r=search-reviewers,Standard8 https://hg.mozilla.org/integration/autoland/rev/43590688afb0 Autofix unused function arguments (security). r=keeler https://hg.mozilla.org/integration/autoland/rev/ad3eae3f8eb5 Autofix unused function arguments (storage). r=asuth https://hg.mozilla.org/integration/autoland/rev/a996fce8b781 Autofix unused function arguments (telemetry). r=chutten https://hg.mozilla.org/integration/autoland/rev/89199aa6a41f Autofix unused function arguments (toolkit/components/antitracking). r=anti-tracking-reviewers,pbz https://hg.mozilla.org/integration/autoland/rev/d5b31dfc3ce7 Autofix unused function arguments (toolkit/components/url-classifier). r=dimi https://hg.mozilla.org/integration/autoland/rev/46e3ab5ca2e1 Autofix unused function arguments (toolkit/content/widgets). r=pip-reviewers,reusable-components-reviewers,kpatenio,tgiles https://hg.mozilla.org/integration/autoland/rev/c86c685ccd56 Autofix unused function arguments (tools/lint/eslint/eslint-plugin-mozilla). r=Standard8 https://hg.mozilla.org/integration/autoland/rev/ac7b674e512d Autofix unused function arguments (tools/profiler). r=profiler-reviewers,julienw
Regressions: 1883191
Regressions: 1883192
Regressions: 1883194
Regressions: 1883195
Regressions: 1883196
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/17be15b00ed6 Autofix unused function arguments (widget). r=spohl https://hg.mozilla.org/integration/autoland/rev/73dfdbaaabe3 Autofix unused function arguments (docshell). r=nika https://hg.mozilla.org/integration/autoland/rev/3c9944598f6c Autofix unused function arguments (js). r=jandem https://hg.mozilla.org/integration/autoland/rev/2880fbdc5ca5 Autofix unused function arguments (layout). r=dshin https://hg.mozilla.org/integration/autoland/rev/6b31316615e4 Autofix unused function arguments (parser). r=hsivonen https://hg.mozilla.org/integration/autoland/rev/bb643e585fb3 Autofix unused function arguments (pip). r=pip-reviewers,kpatenio https://hg.mozilla.org/integration/autoland/rev/832fed5aae75 Remove jsdoc params for removed arguments (pip). r=pip-reviewers,niklas https://hg.mozilla.org/integration/autoland/rev/c204f4699549 Autofix unused function arguments (services). r=markh,sync-reviewers
Regressions: 1883203
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/82e9d69d4c83 Autofix unused function arguments (browser/components/newtab). r=omc-reviewers,aminomancer,thecount https://hg.mozilla.org/integration/autoland/rev/8e7bfcf84651 Autofix unused function arguments (browser/components/urlbar). r=mak https://hg.mozilla.org/integration/autoland/rev/9fb6bc7e6180 Remove jsdoc params for removed arguments (browser/components/urlbar). r=mak https://hg.mozilla.org/integration/autoland/rev/069af7518db5 Autofix unused function arguments (downloads). r=mtigley https://hg.mozilla.org/integration/autoland/rev/d1e884636a6f Autofix unused function arguments (image). r=tnikkel https://hg.mozilla.org/integration/autoland/rev/a635cd6e99ff Autofix unused function arguments (uriloader). r=mtigley
No longer regressions: 1883171
No longer regressions: 1883191
No longer regressions: 1883192
No longer regressions: 1883194
No longer regressions: 1883195
No longer regressions: 1883196
No longer regressions: 1883203
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b88db147fe06 Autofix unused function arguments (accessible). r=Jamie https://hg.mozilla.org/integration/autoland/rev/7c42528aa6cc Autofix unused function arguments (dom). r=emilio,media-playback-reviewers,dom-storage-reviewers,padenot,janv https://hg.mozilla.org/integration/autoland/rev/0599520fd021 Autofix unused function arguments (gfx). r=gfx-reviewers,nical https://hg.mozilla.org/integration/autoland/rev/5d9e45e142e6 Autofix unused function arguments (mobile/android). r=geckoview-reviewers,extension-reviewers,zombie,m_kato
Attachment #9388090 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (credential management). → Bug 1864896: Autofix unused function arguments (credential management).
Attachment #9388091 - Attachment description: WIP: Bug 1864896: Remove jsdoc params for removed arguments (credential management). → Bug 1864896: Remove jsdoc params for removed arguments (credential management).
Pushed by sgalich@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a718dab28ae8 Autofix unused function arguments (credential management). r=credential-management-reviewers,dimi https://hg.mozilla.org/integration/autoland/rev/370cc10f581f Remove jsdoc params for removed arguments (credential management). r=credential-management-reviewers,mtigley https://hg.mozilla.org/integration/autoland/rev/c34ae867e9b9 Polishing autofix of unused function arguments (credential management). r=credential-management-reviewers,dimi
Regressions: 1883553
Regressions: 1883554
Regressions: 1883560
Regressions: 1883561
No longer regressions: 1883553
No longer regressions: 1883560
No longer regressions: 1883561
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c7a163a4bb1b Autofix unused function arguments (webextensions). r=extension-reviewers,zombie https://hg.mozilla.org/integration/autoland/rev/8586fda0db02 Remove jsdoc params for removed arguments (webextensions). r=extension-reviewers,zombie https://hg.mozilla.org/integration/autoland/rev/8a5614920eab Autofix unused function arguments (devtools). r=profiler-reviewers,devtools-reviewers,nchevobbe,julienw https://hg.mozilla.org/integration/autoland/rev/0f30b92ccb00 Remove empty destructuring patterns (devtools). r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/a01a55c90524 Autofix unused function arguments (testing). r=webdriver-reviewers,perftest-reviewers,jmaher,devtools-reviewers,sparky
Regressions: 1883723
Attachment #9388131 - Attachment description: Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update). → WIP: Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update).
Attachment #9388131 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update). → Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update).
Attachment #9388131 - Attachment description: Bug 1864896: Autofix unused function arguments (toolkit/mozapps/update). → Bug 1864896: Fix unused function arguments (toolkit/mozapps/update) r=mossop!
No longer regressions: 1883554
No longer regressions: 1883723
Pushed by rsteuber@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cf755d27fb69 Fix unused function arguments (toolkit/mozapps/update) r=application-update-reviewers,mossop,nalexander
Attachment #9388089 - Attachment description: Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat). → WIP: Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat).
Attachment #9388089 - Attachment description: WIP: Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat). → Bug 1864896: Autofix unused function arguments (browser/extensions/webcompat).
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4cec6f02a26 Autofix unused function arguments (browser/components/sessionstore). r=sessionstore-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/ebc27262108a Autofix unused function arguments (browser/components/pocket). r=thecount https://hg.mozilla.org/integration/autoland/rev/9b880a2334b1 Autofix unused function arguments (browser). r=webcompat-reviewers,mconley,fxview-reviewers,desktop-theme-reviewers,omc-reviewers,migration-reviewers,twisniewski,aminomancer,dao,sclements,firefox-desktop-core-reviewers https://hg.mozilla.org/integration/autoland/rev/3ff6e7233c5b Remove jsdoc params for removed arguments (browser). r=mconley,migration-reviewers
Regressions: 1886206
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff224401ffe7 Autofix unused function arguments (browser/base/content). r=Gijs,application-update-reviewers,tabbrowser-reviewers,places-reviewers,bytesized,dao https://hg.mozilla.org/integration/autoland/rev/ab638a47c224 Autofix unused function arguments (browser/extensions/webcompat). r=webcompat-reviewers,twisniewski https://hg.mozilla.org/integration/autoland/rev/bdda730bd146 Autofix unused function arguments (toolkit/mozapps/extensions). r=zombie https://hg.mozilla.org/integration/autoland/rev/4dc9d01c1d35 Autofix unused function arguments (toolkit). r=mconley,translations-reviewers,omc-reviewers,aminomancer https://hg.mozilla.org/integration/autoland/rev/7305404462c0 Autofix unused function arguments (general). r=nika,jfkthame,ckerschb
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a07b3efb7f4b Fix unused arguments for credential management. r=dimi https://hg.mozilla.org/integration/autoland/rev/c42f1ab7f7c5 Fix unused arguments for accessibility. r=Jamie https://hg.mozilla.org/integration/autoland/rev/029ec74cbc4a Fix more unused arguments in browser and toolkit. r=mconley,webcompat-reviewers,places-reviewers,Standard8,denschub,twisniewski https://hg.mozilla.org/integration/autoland/rev/42e0c42e5e1c Fix more unused arguments. r=KrisWright,smaug,valentin,necko-reviewers
Pushed by dtownsend@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79b454f01f93 Enable unused argument lint rule. r=Standard8,perftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,nchevobbe,robwu,sparky,issammani,sgalich,owlish,migration-reviewers,mconley
Attachment #9392472 - Attachment description: WIP: Bug 1864896 Remove additional unused function arguments. → Bug 1864896 Remove additional unused function arguments.
Flags: needinfo?(dtownsend)
Keywords: leave-open
See Also: → 1886948
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: