Bug: Perma browser/components/urlbar/tests/browser/browser_tabToSearch.js | gURLBar.searchMode should exist as expected - false == true - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 406
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-01-15 05:23:08+00:00
Resolved: 2021-01-18 06:29:41+00:00

**Filed by:** nbeleuzu [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=326770912&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AJPBcgbSQya6-zTpEORhMA/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2021-01-15T04:37:33.861Z] 04:37:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Urlbar should never be in search mode without the corresponding attribute. - false == false - 
[task 2021-01-15T04:37:33.861Z] 04:37:33     INFO - Buffered messages finished
[task 2021-01-15T04:37:33.861Z] 04:37:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabToSearch.js | gURLBar.searchMode should exist as expected - false == true - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 406
[task 2021-01-15T04:37:33.861Z] 04:37:33     INFO - Stack trace:
[task 2021-01-15T04:37:33.861Z] 04:37:33     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:406
[task 2021-01-15T04:37:33.861Z] 04:37:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabToSearch.js:onboard:421
[task 2021-01-15T04:37:33.862Z] 04:37:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-15T04:37:33.862Z] 04:37:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Expected searchMode - null deepEqual {"engineName":"Test","entry":"tabtosearch_onboard","isPreview":false} - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 451
[task 2021-01-15T04:37:33.862Z] 04:37:33     INFO - Stack trace:
[task 2021-01-15T04:37:33.862Z] 04:37:33     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:451
[task 2021-01-15T04:37:33.862Z] 04:37:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabToSearch.js:onboard:421
[task 2021-01-15T04:37:33.862Z] 04:37:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Expected textContent - "" == "Test" - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 475
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - Stack trace:
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:475
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabToSearch.js:onboard:421
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Expected textContent - "" == "Test" - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 475
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - Stack trace:
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:475
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabToSearch.js:onboard:421
[task 2021-01-15T04:37:33.864Z] 04:37:33     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Expected l10n - {"args":null,"id":null} deepEqual {"id":null,"args":null} - 
[task 2021-01-15T04:37:33.865Z] 04:37:33     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-15T04:37:33.866Z] 04:37:33     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Expected placeholder l10n when search mode is active - {"args":{"name":"Google"},"id":"urlbar-placeholder-with-name"} deepEqual {"id":"urlbar-placeholder-search-mode-other-engine","args":{"name":"Test"}} - JS frame :: resource://testing-common/UrlbarTestUtils.jsm :: assertSearchMode :: line 504
[task 2021-01-15T04:37:33.866Z] 04:37:33     INFO - Stack trace:
[task 2021-01-15T04:37:33.866Z] 04:37:33     INFO - resource://testing-common/UrlbarTestUtils.jsm:assertSearchMode:504
[task 2021-01-15T04:37:33.866Z] 04:37:33     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_tabToSearch.js:onboard:421
[task 2021-01-15T04:37:33.866Z] 04:37:33     INFO - Awaiting for the urlbar panel to open
[task 2021-01-15T04:39:29.631Z] 04:39:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-01-15T04:39:29.632Z] 04:39:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_tabToSearch.js | Test timed out - 
[task 2021-01-15T04:39:29.793Z] 04:39:29     INFO - GECKO(1567) | MEMORY STAT | vsize 130552547MB | residentFast 4907MB
[task 2021-01-15T04:39:29.794Z] 04:39:29     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_tabToSearch.js | took 120187ms
[task 2021-01-15T04:39:29.930Z] 04:39:29     INFO - checking window state```