The following layout test is failing on Windows (Debug) because the document is unexpectedly present in the page cache.
For some reason, the active document is still present in the page cache.
Document& document = *frame().document();
I think this is happening for the same reason that the hack was added to 'void HistoryController::invalidateCurrentItemCachedPage()' to get rid of stale cached documents.
Although this is repeatably crashing in debug on windows, it might be the reason the Mac test for this is flaky.
Created attachment 244607 [details]