Async stack traces should be disabled when the inner window is replaced
Categories
(Core :: DOM: Navigation, task)
Tracking
()
People
(Reporter: jdescottes, Unassigned)
References
(Blocks 1 open bug)
Details
(In reply to Olli Pettay [:smaug][bugs@pettay.fi] from Bug 1788894 comment #16)
bfcache is perhaps a bit complicated right now since Android uses still the old implementation. On desktop innerwindow is not changed because of bfcache, since the whole browsing context is changed.
Hmm, but yeah, stopping automation would need to disable stuff on the page which is still in the bfcache.
It might be easiest to add some native code which deals with this all.
In WebDriver BiDi automation we enable async stack traces on specific window globals, but it's tricky to disable it at the right time. If it could be automatically disabled when the inner window is replaced, it would be simpler to handle. See the rest of the discussion on Bug 1788894
Reporter | ||
Comment 1•1 year ago
|
||
(tentatively moving to Core: DOM (Navigation) but feel free to redirect)
Description
•