Expose isTopLevel and followWindowGlobalLifecycle from the server
Categories
(DevTools :: Framework, task, P3)
Tracking
(firefox88 fixed)
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Extracting two simple pre-requisite for Bug 1644397
isTopLevel is currently computed on the client side. Instead we should be able to read it from the server. This will allow to easily detect target switching initiated from the server.
followWindowGlobalLifecycle is a flag set on browsing context targets created from JSWindowActors. Such targets will be destroyed on navigation/reload, regardless process changes. They will also not emit will-navigate/navigate events. Exposing this flag will for instance allow to predict more accurately when a target switching will happen, which will be critical in tests relying on the navitateTo helper.
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D106539
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D105540
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9799d1d173f7
https://hg.mozilla.org/mozilla-central/rev/0d01cee43ac8
Description
•