Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

/* 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");
});