Bug: Intermittent TV browser/components/urlbar/tests/browser/browser_quickactions.js | One off button is available when preffed on - null == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_quickactions.js
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2022-07-05 17:25:08+00:00
Resolved: 2022-08-10 08:58:53+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=383398505&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M1IH3DZiTqCV_EobybI4_w/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M1IH3DZiTqCV_EobybI4_w/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2022-07-05T14:52:34.216Z] 14:52:34     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_quickactions.js
[task 2022-07-05T14:52:34.645Z] 14:52:34     INFO - TEST-INFO | started process screenshot
[task 2022-07-05T14:52:34.861Z] 14:52:34     INFO - TEST-INFO | screenshot: exit 0
[task 2022-07-05T14:52:34.867Z] 14:52:34     INFO - Buffered messages logged at 14:52:34
[task 2022-07-05T14:52:34.867Z] 14:52:34     INFO - Entering setup bound setup
[task 2022-07-05T14:52:34.868Z] 14:52:34     INFO - Leaving setup bound setup
[task 2022-07-05T14:52:34.869Z] 14:52:34     INFO - Entering test bound basic
[task 2022-07-05T14:52:34.869Z] 14:52:34     INFO - The action isnt shown when not matched
[task 2022-07-05T14:52:34.870Z] 14:52:34     INFO - Awaiting for the urlbar panel to open
[task 2022-07-05T14:52:34.870Z] 14:52:34     INFO - Urlbar panel opened
[task 2022-07-05T14:52:34.871Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | We did no match anything - 1 == 1 - 
[task 2022-07-05T14:52:34.872Z] 14:52:34     INFO - A prefix of the command matches
[task 2022-07-05T14:52:34.872Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | We matched the action - 2 == 2 - 
[task 2022-07-05T14:52:34.873Z] 14:52:34     INFO - The callback of the action is fired when selected
[task 2022-07-05T14:52:34.873Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Test actionwas called - 1 == 1 - 
[task 2022-07-05T14:52:34.874Z] 14:52:34     INFO - Leaving test bound basic
[task 2022-07-05T14:52:34.874Z] 14:52:34     INFO - Entering test bound enter_search_mode_button
[task 2022-07-05T14:52:34.875Z] 14:52:34     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=�i� modifiers=�accel,alt,shift� id=�key_browserToolbox�" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1360}]
[task 2022-07-05T14:52:34.875Z] 14:52:34     INFO - Awaiting for the urlbar panel to open
[task 2022-07-05T14:52:34.876Z] 14:52:34     INFO - Urlbar panel opened
[task 2022-07-05T14:52:34.876Z] 14:52:34     INFO - Buffered messages finished
[task 2022-07-05T14:52:34.877Z] 14:52:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_quickactions.js | One off button is available when preffed on - null == true - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_quickactions.js :: enter_search_mode_button :: line 74
[task 2022-07-05T14:52:34.878Z] 14:52:34     INFO - Stack trace:
[task 2022-07-05T14:52:34.878Z] 14:52:34     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_quickactions.js:enter_search_mode_button:74
[task 2022-07-05T14:52:34.878Z] 14:52:34     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-07-05T14:52:34.879Z] 14:52:34     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_quickactions.js | Uncaught exception in test - at chrome://mochikit/content/tests/SimpleTest/EventUtils.js:738 - TypeError: can't access property "getBoundingClientRect", aTarget is null
[task 2022-07-05T14:52:34.879Z] 14:52:34     INFO - Stack trace:
[task 2022-07-05T14:52:34.879Z] 14:52:34     INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:738:14
[task 2022-07-05T14:52:34.879Z] 14:52:34     INFO - enter_search_mode_button@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_quickactions.js:75:14
[task 2022-07-05T14:52:34.880Z] 14:52:34     INFO - Leaving test bound enter_search_mode_button
[task 2022-07-05T14:52:34.881Z] 14:52:34     INFO - Entering test bound enter_search_mode_key
[task 2022-07-05T14:52:34.881Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Urlbar should never be in search mode without the corresponding attribute. - true == true - 
[task 2022-07-05T14:52:34.882Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | gURLBar.searchMode should exist as expected - true == true - 
[task 2022-07-05T14:52:34.882Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Expected searchMode - {"source":7,"isPreview":false,"entry":"typed"} deepEqual {"source":7,"entry":"typed","isPreview":false} - 
[task 2022-07-05T14:52:34.883Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Expected result source should have a name - "actions" == true - 
[task 2022-07-05T14:52:34.884Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Expected l10n - {"args":null,"id":"urlbar-search-mode-actions"} deepEqual {"id":"urlbar-search-mode-actions","args":null} - 
[task 2022-07-05T14:52:34.884Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Expected l10n - {"args":null,"id":"urlbar-search-mode-actions"} deepEqual {"id":"urlbar-search-mode-actions","args":null} - 
[task 2022-07-05T14:52:34.885Z] 14:52:34     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_quickactions.js | Expected placeholder l10n when search mode is active - {"args":null,"id":"urlbar-placeholder-search-mode-other-actions"} deepEqual {"id":"urlbar-placeholder-search-mode-other-actions","args":null} - 
[task 2022-07-05T14:52:34.885Z] 14:52:34     INFO - Leaving test bound enter_search_mode_key
[task 2022-07-05T14:52:34.886Z] 14:52:34     INFO - GECKO(3940) | MEMORY STAT | vsize 911MB | vsizeMaxContiguous 1293MB | residentFast 240MB | heapAllocated 115MB
[task 2022-07-05T14:52:34.886Z] 14:52:34     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_quickactions.js | took 573ms
[task 2022-07-05T14:52:34.887Z] 14:52:34     INFO - checking window state
[task 2022-07-05T14:52:34.887Z] 14:52:34     INFO - GECKO(3940) | Completed ShutdownLeaks collections in process 7856
[task 2022-07-05T14:52:34.888Z] 14:52:34     INFO - TEST-START | Shutdown
```