Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: http3 OR http2
- Manifest: devtools/client/storage/test/browser.toml
// Test ability to focus search field by using keyboard
"use strict";
add_task(async function () {
await openTabAndSetupStorage(MAIN_DOMAIN_SECURED + "storage-search.html");
gUI.tree.expandAll();
await focusSearchBoxUsingShortcut(gPanelWindow);
ok(
containsFocus(gPanelWindow.document, gUI.searchBox),
"Focus is in a searchbox"
);
});