Bug 1818239, latter reload should win, r=peterv

Differential Revision: https://phabricator.services.mozilla.com/D173169
This commit is contained in:
Olli Pettay
2023-03-22 14:51:47 +00:00
parent 0083a5d3ba
commit 2c498a7358
3 changed files with 23 additions and 0 deletions

View File

@@ -1297,6 +1297,8 @@ class nsDocShell final : public nsDocLoader,
uint64_t mChannelToDisconnectOnPageHide;
uint32_t mPendingReloadCount = 0;
// The following two fields cannot be declared as bit fields
// because of uses with AutoRestore.
bool mCreatingDocument; // (should be) debugging only