# STEPS TO REPRODUCE 1. open WebInspector 2. enable the Audit tab 3. load the default audits 4. start running the test 5. refresh the page => any tests with results are cleared, but all active tests (e.g. one's that have been queued but not yet run) continue running # NOTE For (4), it may be necessary to add an `await Promise.delay(1000)` inside `WI.AuditTestCase.prototype.run`, as the audits can run quite fast
<rdar://problem/46435222>
Created attachment 356440 [details] Patch
Comment on attachment 356440 [details] Patch r=me You could write a test for this, but it seems like it could be rather artificial.
Comment on attachment 356440 [details] Patch (In reply to Joseph Pecoraro from comment #3) > You could write a test for this, but it seems like it could be rather artificial. I'd need to wait for <https://webkit.org/b/192171> to land, as I'd need to create a long test that doesn't interfere with the page (e.g. a `setTimeout`), and I'd imagine that that would be pretty flakey.
Comment on attachment 356440 [details] Patch Clearing flags on attachment: 356440 Committed r238841: <https://trac.webkit.org/changeset/238841>
All reviewed patches have been landed. Closing bug.