Bug: Intermittent browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | https://example.com/#cat url should be first - "https://example.com/#car" == "https://example.com/#cat" - JS frame :: chrome://mochitests/content/browser/browser/comp
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-12-24 10:42:46+00:00
Resolved: 2022-07-25 23:16:48+00:00

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

---
```
[task 2021-12-24T09:30:47.750Z] 09:30:47     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js
[task 2021-12-24T09:30:49.176Z] 09:30:49     INFO - TEST-INFO | started process screenshot
[task 2021-12-24T09:30:49.376Z] 09:30:49     INFO - TEST-INFO | screenshot: exit 0
[task 2021-12-24T09:30:49.391Z] 09:30:49     INFO - Buffered messages logged at 09:30:47
[task 2021-12-24T09:30:49.391Z] 09:30:49     INFO - Entering test bound setup
[task 2021-12-24T09:30:49.392Z] 09:30:49     INFO - Leaving test bound setup
[task 2021-12-24T09:30:49.392Z] 09:30:49     INFO - Entering test bound test_adaptive_with_search_term_and_switch_tab
[task 2021-12-24T09:30:49.393Z] 09:30:49     INFO - Load tabs in same order as urls
[task 2021-12-24T09:30:49.394Z] 09:30:49     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/" line: 0}]
[task 2021-12-24T09:30:49.394Z] 09:30:49     INFO - Buffered messages logged at 09:30:48
[task 2021-12-24T09:30:49.395Z] 09:30:49     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/#cat" line: 0}]
[task 2021-12-24T09:30:49.396Z] 09:30:49     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/#cake" line: 0}]
[task 2021-12-24T09:30:49.396Z] 09:30:49     INFO - Switch to tab 0
[task 2021-12-24T09:30:49.397Z] 09:30:49     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "https://example.com/#car" line: 0}]
[task 2021-12-24T09:30:49.397Z] 09:30:49     INFO - Wait for autocomplete
[task 2021-12-24T09:30:49.397Z] 09:30:49     INFO - Awaiting for the urlbar panel to open
[task 2021-12-24T09:30:49.398Z] 09:30:49     INFO - Urlbar panel opened
[task 2021-12-24T09:30:49.398Z] 09:30:49     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | https://example.com/#cat url should not be first - "https://example.com/#car" != "https://example.com/#cat" - 
[task 2021-12-24T09:30:49.399Z] 09:30:49     INFO - Scroll down to select the https://example.com/#cat entry using keyboard
[task 2021-12-24T09:30:49.400Z] 09:30:49     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | Selected entry should be tab switch - 1 == 1 - 
[task 2021-12-24T09:30:49.400Z] 09:30:49     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | "https://example.com/#cat" == "https://example.com/#cat" - 
[task 2021-12-24T09:30:49.401Z] 09:30:49     INFO - Visiting tab 1
[task 2021-12-24T09:30:49.401Z] 09:30:49     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | Should have switched to tab 1 - [object XULElement] == [object XULElement] - 
[task 2021-12-24T09:30:49.402Z] 09:30:49     INFO - Switch back to tab 0
[task 2021-12-24T09:30:49.402Z] 09:30:49     INFO - Buffered messages logged at 09:30:49
[task 2021-12-24T09:30:49.402Z] 09:30:49     INFO - Wait for autocomplete
[task 2021-12-24T09:30:49.403Z] 09:30:49     INFO - Awaiting for the urlbar panel to open
[task 2021-12-24T09:30:49.404Z] 09:30:49     INFO - Urlbar panel opened
[task 2021-12-24T09:30:49.404Z] 09:30:49     INFO - Buffered messages finished
[task 2021-12-24T09:30:49.405Z] 09:30:49     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | https://example.com/#cat url should be first - "https://example.com/#car" == "https://example.com/#cat" - JS frame :: chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js :: test_adaptive_with_search_term_and_switch_tab :: line 86
[task 2021-12-24T09:30:49.405Z] 09:30:49     INFO - Stack trace:
[task 2021-12-24T09:30:49.405Z] 09:30:49     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js:test_adaptive_with_search_term_and_switch_tab:86
[task 2021-12-24T09:30:49.406Z] 09:30:49     INFO - Leaving test bound test_adaptive_with_search_term_and_switch_tab
[task 2021-12-24T09:30:49.465Z] 09:30:49     INFO - GECKO(8556) | MEMORY STAT | vsize 19414615MB | vsizeMaxContiguous 65546887MB | residentFast 2099MB
[task 2021-12-24T09:30:49.480Z] 09:30:49     INFO - TEST-OK | browser/components/urlbar/tests/browser/browser_switchTab_inputHistory.js | took 1726ms
[task 2021-12-24T09:30:49.499Z] 09:30:49     INFO - checking window state
[task 2021-12-24T09:30:49.523Z] 09:30:49     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_switchTab_override.js
```