mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
The disableTask options is renamed to enableTaskMiddleware, which defaults to false. This caused failure in the dom mutation breakpoint test, because we weren't waiting until the call to the server to remove the breakpoints were done. It wasn't an issue before because this was handle by the task middleware, which catch rejections. We fix this by only dispatching the action when the breakpoints are indeed removed. We also tweak to waitForAllElements helper to be able to wait for a specific count of element (it used to resolve when there was at least the specified count, which is not ideal when trying to assert removal of an element). Differential Revision: https://phabricator.services.mozilla.com/D47584