Open Bug 1910585 Opened 3 months ago Updated 3 months ago

EventSource is potentially broken in workers on bfcache

Categories

(Core :: DOM: Networking, defect, P2)

defect
Points:
5

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

Details

(Whiteboard: [necko-triaged][necko-priority-next])

Currently when we enter bfcache, we flip mFrozen, which halts the EventSource from firing any more events, and then when leaving bfcache we fire all pending events.

But this only works on window as we don't observe bfcache events for workers. We should either get the same system for workers, or if impossible, prevent bfcache as Web Locks does.

Moving the component per the description and I hope I get it right ...

Component: DOM: Core & HTML → DOM: Networking
See Also: → 1908729

(In reply to Hsin-Yi Tsai (she/her) (REO Fx 129) [:hsinyi] from comment #1)

Moving the component per the description and I hope I get it right ...

It'd be easier for someone from DOM team to fix this, since this is mostly related to bfcache.

Severity: -- → S3
Points: --- → 5
Priority: -- → P2
Whiteboard: [necko-triaged][necko-priority-next]
You need to log in before you can comment on or make changes to this bug.