DumpRenderTree should clear a WebHTMLView static variable between tests
Created attachment 438358 [details] Patch
I did see behavior differences when debugging the failures in 230295 related to this static, but I don't know if this fixes any WK1 flakiness.
Created attachment 438360 [details] Patch
Comment on attachment 438360 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438360&action=review > Source/WebKitLegacy/mac/ChangeLog:8 > + Add testing-only SPI to clear the 'lastHitView' static in WebHTMLView. We navigate to about:blank between tests; should this not clear lastHitView?
It does not.
Should it though? That seems like it may be a better fix than a test-only SPI.
I don't want to change WebKitLegacy behavior; that's all risk and little reward.
<rdar://problem/83452466>
I do not object to landing this, but don't feel excited enough to r+ given that isn't known to improve anything, and fixes the issue in a "wrong" way.