Open Bug 1713438 Opened 5 months ago Updated 23 days ago

[meta] Implement MessageHandler architecture


(Remote Protocol :: WebDriver BiDi, task)



(Not tracked)


(Reporter: jdescottes, Unassigned)


(Depends on 8 open bugs, Blocks 2 open bugs)


(Keywords: meta)


(7 files)

Meta to implement the CommandsHandler architecture initially described in and

The CommandsHandler architecture should allow to:

  • reach any context relevant for either WebDriver BiDi or devtools (chrome window, content window, process, worker)
  • spawn modules in any relevant layer (parent process, content process main thread, content process worker thread)
  • support multiple sessions (eg one from WebDriver BiDi + one from DevTools)
  • route commands from the parent process to any context
  • intercept commands at any layer between the parent process and the destination
  • persist and broadcast session data (eg list of events currently subscribed to)
  • handle new contexts created during the session (eg new frame appearing)
Summary: [meta] Implement CommandsHandler architecture → [meta] Implement MessageHandler architecture
You need to log in before you can comment on or make changes to this bug.