DRT does not seem to reset the 'UsesPageCache' settings between tests on Windows. This should be done in resetWebPreferencesToConsistentValues() in DumpRenderTree.cpp, similarly to what is done in DumpRenderTree.mm on Mac / WK1. Without test, PageCache could stay enabled after page cache tests (They enable PageCache explicitly via 'testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1)') and cause weird behaviors.
Created attachment 250800 [details] Patch
Created attachment 250801 [details] Patch
Comment on attachment 250801 [details] Patch r=me.
Comment on attachment 250801 [details] Patch Clearing flags on attachment: 250801 Committed r182844: <http://trac.webkit.org/changeset/182844>
All reviewed patches have been landed. Closing bug.
FYI, after this change. The number of new passes went from 28 to 32 on the Windows Debug bot. Also, the flakes went down from 9 to 1. Similar results on the Windows Release bot. So it looks like the change was indeed useful :)
I'm also wondering if (In reply to comment #6) > FYI, after this change. The number of new passes went from 28 to 32 on the > Windows Debug bot. Also, the flakes went down from 9 to 1. Similar results > on the Windows Release bot. > > So it looks like the change was indeed useful :) That's wonderful news! I wonder if I can re-enable a few of the tests I identified as messing up the page cache previously. All of those symptoms might have been caused by this bug you found.