Closed Bug 1936874 Opened 1 year ago Closed 10 months ago

EventsDispatcher should retrieve browsing contexts via BrowsingContext.get

Categories

(Remote Protocol :: Agent, task, P3)

task
Points:
2

Tracking

(firefox139 fixed)

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

(Whiteboard: [webdriver:m16])

Attachments

(1 file)

EventsDispatcher unnecessarily uses TabManager.getBrowsingContextById today. All the context ids found in events' contextInfo should be platform browsing context ids, and not TabManager UUIDs. Therefore we don't need the overhead of getBrowsingContextById. Also will unblock Bug 1761445

See Also: → 1821401

All context ids handled by the events dispatcher are actual browsing context ids and not
TabManager UUIDs, there is no reason to use getBrowsingContextById here.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:jdescottes, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(jdescottes)
Flags: needinfo?(hskupin)

Julian, can you please check why we didn't land this patch?

Flags: needinfo?(hskupin)

Let's rebase and do a try push, I don't remember why this didn't land.
https://treeherder.mozilla.org/jobs?repo=try&revision=a8b06370eb2aa82bef10b6193665caf9e4600578
Try looks green I'll land this.

Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/443b0f786a62 [remote] EventsDispatcher should retrieve browsing contexts via BrowsingContext.get r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Points: --- → 2
Whiteboard: [webdriver:m16]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: