Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: devtools/server/tests/xpcshell/xpcshell.toml
/* Any copyright is dedicated to the Public Domain.
"use strict";
add_task(
threadFrontTest(async ({ threadFront }) => {
const onPaused = waitForEvent(threadFront, "paused");
await threadFront.interrupt();
await onPaused;
Assert.equal(threadFront.paused, true);
await threadFront.resume();
Assert.equal(threadFront.paused, false);
})
);