Closed Bug 1894556 Opened 2 months ago Closed 2 months ago

Need to replace idleTasksFinishedPromise with idleTasksFinished.promise

Categories

(Firefox :: General, task, P2)

Firefox 125
task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: sp, Assigned: sp)

Details

Attachments

(1 file)

Steps to reproduce:

After moving gBrowserInit to a new file, this variable is no longer needed and can be replaced. Here are the occurrences to change them.
https://searchfox.org/mozilla-central/search?q=idleTasksFinishedPromise&path=&case=false&regexp=false

Hi Steve, are you interested in working on this as well, now that bug 1880909 has successfully landed? :-)

Flags: needinfo?(sp)

Yes I am! It seems like it should be pretty straightforward, just replace those occurrences? Is there anything else I need to keep in mind when I go through and make the changes?

Flags: needinfo?(sp)

(In reply to Steve P from comment #2)

Yes I am! It seems like it should be pretty straightforward, just replace those occurrences? Is there anything else I need to keep in mind when I go through and make the changes?

I don't think so, though we'll want to push to try and check we haven't broken any tests - there are a few framework bits for both talos (performance) and mochitest (integration/unit) tests that rely on this API, it would seem. It should be fine as it's fairly mechanical, but that's part of why I wanted to split it off from the other change. :-)

Assignee: nobody → sp
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

All instances are replaced. I did the same tests as before, with opening tabs and dragging them in and out of different windows, all seems to be working as expected. Are there any actual tests you'd like me to run?

Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Steve P from comment #5)

All instances are replaced. I did the same tests as before, with opening tabs and dragging them in and out of different windows, all seems to be working as expected. Are there any actual tests you'd like me to run?

I think this is fine - I added some tests to the treeherder job that your phabricator push created: https://treeherder.mozilla.org/jobs?repo=try&revision=c5ebac3ece5ec88828c197ffe2b010ec1d40d276

In a few hours they should have completed, but I don't expect any problems either way. Please do request review / take the patch out of WIP - it looks good to me. :-)

Flags: needinfo?(gijskruitbosch+bugs)
Attachment #9400758 - Attachment description: WIP: Bug 1894556 - Need to replace idleTasksFinishedPromise with idleTasksFinished.promise → Bug 1894556 - Need to replace idleTasksFinishedPromise with idleTasksFinished.promise.r?Gijs
Attachment #9400758 - Attachment description: Bug 1894556 - Need to replace idleTasksFinishedPromise with idleTasksFinished.promise.r?Gijs → Bug 1894556 - Need to replace idleTasksFinishedPromise with idleTasksFinished.promise. r?Gijs

Thanks Gijs! I've updated the patch from WIP, but it doesn't seem to be adding you as a reviewer.

(In reply to Steve P from comment #7)

Thanks Gijs! I've updated the patch from WIP, but it doesn't seem to be adding you as a reviewer.

I've just reviewed it anyway. ;-)

Awesome, thanks for all your help!

If this patch is complete, do you know of any bugs you might suggest for me to move on to from here? :)

Severity: -- → N/A
Type: enhancement → task
Component: Untriaged → General
Priority: -- → P2
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/9b24b8dd1c0d
Need to replace idleTasksFinishedPromise with idleTasksFinished.promise. r=perftest-reviewers,Gijs,sparky

(In reply to Steve P from comment #9)

Awesome, thanks for all your help!

If this patch is complete, do you know of any bugs you might suggest for me to move on to from here? :)

How about bug 1882776 ? It'll be a slight step up in terms of difficulty, but I'm confident you're up to it. :-)

Flags: needinfo?(sp)

I'll be happy to take a shot at it, thanks!

Flags: needinfo?(sp)
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: