Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'linux' && os_version == '18.04' && asan OR os == 'linux' && os_version == '18.04' && tsan OR win11_2009 && asan
- Manifest: browser/components/urlbar/tests/browser/browser.toml
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
add_task(async function test() {
gURLBar.selectionStart = 4;
gURLBar.selectionEnd = 5;
goDoCommand("cmd_cut");
is(
gURLBar.value,
"location bar value after cutting 's' from https"
);
gURLBar.handleRevert();
});