зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1608631 - Perma Beta test failure in browser_urlbar_event_telemetry.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D60025 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
51d92c123f
Коммит
49bfea3d43
|
@ -110,11 +110,11 @@ Event Value
|
|||
``topsites``. To know whether the user actually picked a top site, check
|
||||
check that ``numChars`` == 0. If ``numChars`` > 0, the user initially opened
|
||||
top sites, but then they started typing and confirmed a different result.
|
||||
``returned``. The user abandoned a search, for example by switching to
|
||||
- ``returned``: The user abandoned a search, for example by switching to
|
||||
another tab/window, or focusing something else, then came back to it
|
||||
and continued. We consider a search continued if the user kept at least the
|
||||
first char of the original search string.
|
||||
``restarted``. The user abandoned a search, for example by switching to
|
||||
- ``restarted``: The user abandoned a search, for example by switching to
|
||||
another tab/window, or focusing something else, then came back to it,
|
||||
cleared it and then typed a new string.
|
||||
|
||||
|
|
|
@ -639,7 +639,9 @@ const tests = [
|
|||
|
||||
async function() {
|
||||
info("Retained result: type, blur, focus, confirm.");
|
||||
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["browser.urlbar.update1", true]],
|
||||
});
|
||||
await promiseAutocompleteResultPopup("search", window, true);
|
||||
await UrlbarTestUtils.promisePopupClose(window, () => {
|
||||
gURLBar.blur();
|
||||
|
@ -651,6 +653,7 @@ const tests = [
|
|||
let promise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser);
|
||||
EventUtils.synthesizeKey("VK_RETURN");
|
||||
await promise;
|
||||
await SpecialPowers.popPrefEnv();
|
||||
return [
|
||||
{
|
||||
category: "urlbar",
|
||||
|
@ -700,7 +703,9 @@ const tests = [
|
|||
|
||||
async function() {
|
||||
info("Retained result: type, blur, focus, backspace, type, confirm.");
|
||||
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["browser.urlbar.update1", true]],
|
||||
});
|
||||
await promiseAutocompleteResultPopup("search", window, true);
|
||||
await UrlbarTestUtils.promisePopupClose(window, () => {
|
||||
gURLBar.blur();
|
||||
|
@ -715,6 +720,7 @@ const tests = [
|
|||
let promise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser);
|
||||
EventUtils.synthesizeKey("VK_RETURN");
|
||||
await promise;
|
||||
await SpecialPowers.popPrefEnv();
|
||||
return [
|
||||
{
|
||||
category: "urlbar",
|
||||
|
@ -743,7 +749,9 @@ const tests = [
|
|||
|
||||
async function() {
|
||||
info("Retained result: type, blur, focus, type (overwrite), confirm.");
|
||||
|
||||
await SpecialPowers.pushPrefEnv({
|
||||
set: [["browser.urlbar.update1", true]],
|
||||
});
|
||||
await promiseAutocompleteResultPopup("search", window, true);
|
||||
await UrlbarTestUtils.promisePopupClose(window, () => {
|
||||
gURLBar.blur();
|
||||
|
@ -756,6 +764,7 @@ const tests = [
|
|||
let promise = BrowserTestUtils.browserLoaded(gBrowser.selectedBrowser);
|
||||
EventUtils.synthesizeKey("VK_RETURN");
|
||||
await promise;
|
||||
await SpecialPowers.popPrefEnv();
|
||||
return [
|
||||
{
|
||||
category: "urlbar",
|
||||
|
|
Загрузка…
Ссылка в новой задаче