Closed Bug 1841010 Opened 1 year ago Closed 1 year ago

Create a helper to track navigations and retrieve the current navigation id for a context

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
3

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m8] )

Attachments

(2 files, 1 obsolete file)

As a prerequisite to return navigation ids in various commands and events, we should create a helper/utility that will be able to track navigation for all contexts, and return the current navigation id for any context.

Tracking the navigations might be handled in the parent or content processes, however the service itself should be available in the parent process:

  • need to access the unique context ids which are only available in the parent for now
  • network events (which need a navigation id when relevant) are handled in the parent process
Blocks: 1789484, 1805405

Bug 1835704 will be relevant here, but we will most likely move forward with an implementation based on the current callbacks available in the WebProgressListener. So not blocking on it, just see also.

See Also: → 1835704
Blocks: 1756595
Points: --- → 3
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Attachment #9342223 - Attachment is obsolete: true
Blocks: 1844517
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbe6eebd6aff [remote] Add a NavigationManager to monitor navigations using JSWindowActors r=webdriver-reviewers,Sasha https://hg.mozilla.org/integration/autoland/rev/8efc6ba50695 [remote] Expose a NavigationManager instance on the RootMessageHandler r=webdriver-reviewers,jgraham
Regressions: 1844581
Regressions: 1844582
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
Blocks: 1844745
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: