mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
ed239179da
In the console, to batch messages addition, we use queues which are then consumed once every 50ms. But if a message is pushed to a queue, and dispatchMessagesClear is called before the 50ms interval, the message would still be added to the output. This is happening for example when calling the `clear` helper from jsterm. Clearing the queues when calling dispatchMessagesClear fixes the issue. A mochitest is added to make sure we don't regress this. MozReview-Commit-ID: 2CI0yIGSrT --HG-- extra : rebase_source : ae243cff56ddf605e9656cd79c356688406e45e8 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
shim | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild |