Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: asan OR tsan
- Manifest: toolkit/components/aboutprocesses/tests/browser/browser.toml
/* Any copyright is dedicated to the Public Domain.
"use strict";
add_task(async function () {
// Wait for the browser to be ready to receive keyboard events.
if (!gBrowser.selectedBrowser.hasLayers) {
await BrowserTestUtils.waitForEvent(window, "MozLayerTreeReady");
}
EventUtils.synthesizeKey("KEY_Escape", { shiftKey: true });
await BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser);
Assert.equal(gBrowser.selectedBrowser.currentURI.spec, "about:processes");
});