Closed Bug 1635568 Opened 5 years ago Closed 3 years ago

Split-out event listeners from observer classes

Categories

(Remote Protocol :: Agent, task, P3)

task

Tracking

(Fission Milestone:Future)

RESOLVED WONTFIX
Fission Milestone Future

People

(Reporter: whimboo, Unassigned)

References

Details

(Whiteboard: [puppeteer-beta2-mvp])

At least the ContextObserver and TabObserver classes use a mixture of observers and event listeners. While observer notifications should only be registered once (because those are global and mainly live in the parent process), the events are tight to the current tab's content (docShell).

As such both methods need to be split apart. Also this will be needed for being Fission compatible.

Given that assigning myself to this bug and making it beta-reserve, it causes problems with the MVP selection. So I will check for a workaround similar to Maja's navigation work.

Assignee: hskupin → nobody
No longer blocks: 1593226
Status: ASSIGNED → NEW
Priority: P1 → P3
Blocks: 1635685
Fission Milestone: --- → M6c
Whiteboard: [puppeteer-beta-reserve] → [puppeteer-beta2-mvp]

Henrik, could you please find an assignee for this?

Fission Milestone: M6c → M7
Flags: needinfo?(hskupin)

(In reply to Neha Kochar [:neha] from comment #2)

Henrik, could you please find an assignee for this?

It's currently not clear if we have to solve this bug or not. It all depends on discussions, which will happen over the next weeks. It's basically not clear if we want to make Remote Agent Fission compatible or not, given that WebDriver BiDi is coming up and will replace it.

Flags: needinfo?(hskupin)

Honza said this is not part of dt-fission-m3-mvp and is not considered Fission M7 blocker.

Fission Milestone: M7 → ---

(In reply to Neha Kochar [:neha] from comment #4)

Honza said this is not part of dt-fission-m3-mvp and is not considered Fission M7 blocker.

In that case, setting Fission Milestone to Future to remove this bug from our Fission triage list.

Fission Milestone: --- → Future

In our new WebDriver BiDi implementation we also register observers per window global. That makes it easier for filtering and was also proposed by DOM peers. As such we shouldn't need this particular bug.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.