mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 07:01:19 +00:00

test_stepping-12.js wasn't correctly waiting for thread to be resumed between each of its sub test. Similarly, other tests weren't waiting for thread front's resume request to be resume. I'm also spreading the usage of resumeAndWaitForPause to better ensure we resume and wait for next paused event without any race condition. Listening to "paused" after calling "resume" is subject to race conditions. Differential Revision: https://phabricator.services.mozilla.com/D136125