gecko-dev/devtools
Nicolas Chevobbe ed239179da Bug 1432771 - Clear queues in dispatchMessagesClear; r=bgrins.
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
2018-01-24 15:37:09 +01:00
..
client Bug 1432771 - Clear queues in dispatchMessagesClear; r=bgrins. 2018-01-24 15:37:09 +01:00
docs Bug 1406383- Add documentation for squashing commits; r=sole DONTBUILD 2018-01-13 03:12:10 +05:30
platform Bug 1421992 - hand written cleanup patch to make xpcshell tests pass after replacing do_check_* with Assert.*, r=Gijs. 2017-12-21 11:08:19 +01:00
server Bug 1424880 - Size the font for grid area names after the smallest dimension; r=gl 2018-01-28 16:40:32 +01:00
shared Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
shim Bug 1428191 - create developer toggle widget before first paint in DevEdition;r=ochameau 2018-01-05 13:44:19 +01:00
.eslintrc.js Bug 1430615 - Remove ESLint rules duplicated in devtools/.eslintrc.js where they are already defined in recommended.js. r=jdescottes 2018-01-15 16:46:49 +00:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE 2017-07-27 18:16:52 +02:00
templates.mozbuild Bug 1198013 - DevToolsModules now safe to call multiple times. r=miker 2017-11-03 12:38:05 -05:00