Bug 1563171 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

In Bug 1549973, we introduce a way to do the final tabState flush before closing the tab.
It can work successfully on the normal case.

However, we cannot complete the final flush when doing "await BrowserTestUtils.closeWindow(win);".
https://searchfox.org/mozilla-central/rev/8a990595ce6d5ed07ace2d4d5d86cc69aec90bde/browser/components/sessionstore/test/browser_broadcast.js#54

From the investigation, we found that BrowserChild uses "SendSessionStoreUpdate()" to send final flush. However, BrowserParent cannot receive this IPC call.
In Bug 1549973, we introduce a way to do the final tabState flush before closing the tab.
It can work successfully on the normal case.

However, we cannot complete the final flush when doing "await BrowserTestUtils.closeWindow(win);".
https://searchfox.org/mozilla-central/rev/8a990595ce6d5ed07ace2d4d5d86cc69aec90bde/browser/components/sessionstore/test/browser_broadcast.js#54

From the investigation, it seems that BrowserChild have sent the finsh flush by "SendSessionStoreUpdate()". However, BrowserParent cannot receive this IPC call.

Back to Bug 1563171 Comment 0