DescriptionStop async spellchecker before running the leak detector.
Should a test finish up before all the spellcheck requests that
it (inadvertently?) generates have been asynchronously processed
and completed, it risks beomg reported as leaking.
These requests have no bearing on the correctness of the test
(if they did, the test would have to arrange to wait on their
outcomes), and can safely be cancelled before leak detection goes
ahead. Along with stopping the async spellchecker, this avoids
unnecessary flakiness from tests that involve spellchecking.
R=
BUG=587424
Committed: https://crrev.com/b25827c77b343f26adde09f027372c50b3e2f6b5
Cr-Commit-Position: refs/heads/master@{#376816}
Patch Set 1 #Patch Set 2 : comment wording #Patch Set 3 : retire inflight spellcheck cancellation, not needed. #Patch Set 4 : clarifying comment #Patch Set 5 : rebase + parameterize WebLeakDetector over WebFrames instead #Messages
Total messages: 25 (13 generated)
|