Bug: Intermittent TV browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autofilled value is as expected for search 'au' - "au" == "autofilltrimurl.com/" - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/brow
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-06-06 18:35:37+00:00
Resolved: 2023-06-26 06:18:47+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=418305938&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ANjBbs6DSZ20u_82qBTFIQ/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/ANjBbs6DSZ20u_82qBTFIQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2023-06-06T16:44:18.556Z] 16:44:18     INFO - TEST-START | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js
[task 2023-06-06T16:44:19.074Z] 16:44:19     INFO - TEST-INFO | started process screenshot
[task 2023-06-06T16:44:19.168Z] 16:44:19     INFO - TEST-INFO | screenshot: exit 0
[task 2023-06-06T16:44:19.182Z] 16:44:19     INFO - Buffered messages logged at 16:44:18
[task 2023-06-06T16:44:19.182Z] 16:44:19     INFO - Entering setup bound 
[task 2023-06-06T16:44:19.183Z] 16:44:19     INFO - Leaving setup bound 
[task 2023-06-06T16:44:19.184Z] 16:44:19     INFO - Entering test bound autofill_tests
[task 2023-06-06T16:44:19.184Z] 16:44:19     INFO - Searching for 'http://'
[task 2023-06-06T16:44:19.185Z] 16:44:19     INFO - Awaiting for the urlbar panel to open
[task 2023-06-06T16:44:19.186Z] 16:44:19     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: 1404}]
[task 2023-06-06T16:44:19.186Z] 16:44:19     INFO - Urlbar panel opened
[task 2023-06-06T16:44:19.187Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autofilled value is as expected for search 'http://' - "http://" == "http://" - 
[task 2023-06-06T16:44:19.188Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autocomplete result should have displayed title as expected for search 'http://' - "http://" == "http://" - 
[task 2023-06-06T16:44:19.188Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autocomplete action text should be as expected for search 'http://' - "Search with Google" == "Search with Google" - 
[task 2023-06-06T16:44:19.189Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autocomplete result should have searchengine for the type for search 'http://' - 2 == 2 - 
[task 2023-06-06T16:44:19.190Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Should have search params if expected - true == true - 
[task 2023-06-06T16:44:19.190Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Shoud have the correct search params - {"engine":"Google","query":"http://"} deepEqual {"engine":"Google","query":"http://"} - 
[task 2023-06-06T16:44:19.191Z] 16:44:19     INFO - Searching for 'https://'
[task 2023-06-06T16:44:19.192Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autofilled value is as expected for search 'https://' - "https://" == "https://" - 
[task 2023-06-06T16:44:19.192Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autocomplete result should have displayed title as expected for search 'https://' - "https://" == "https://" - 
[task 2023-06-06T16:44:19.193Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autocomplete action text should be as expected for search 'https://' - "Search with Google" == "Search with Google" - 
[task 2023-06-06T16:44:19.193Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autocomplete result should have searchengine for the type for search 'https://' - 2 == 2 - 
[task 2023-06-06T16:44:19.194Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Should have search params if expected - true == true - 
[task 2023-06-06T16:44:19.194Z] 16:44:19     INFO - TEST-PASS | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Shoud have the correct search params - {"engine":"Google","query":"https://"} deepEqual {"engine":"Google","query":"https://"} - 
[task 2023-06-06T16:44:19.195Z] 16:44:19     INFO - Searching for 'au'
[task 2023-06-06T16:44:19.195Z] 16:44:19     INFO - Buffered messages finished
[task 2023-06-06T16:44:19.203Z] 16:44:19     INFO - TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js | Autofilled value is as expected for search 'au' - "au" == "autofilltrimurl.com/" - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js","name":"promiseTestResult","sourceId":594,"lineNumber":48,"columnNumber":10,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js","name":"autofill_tests","sourceId":594,"lineNumber":159,"columnNumber":11,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"handleTask","sourceId":537,"lineNumber":1131,"columnNumber":26,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"_runTaskBasedTest","sourceId":537,"lineNumber":1203,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"Tester_execTest","sourceId":537,"lineNumber":1345,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest/<","sourceId":537,"lineNumber":1120,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js","name":"SimpleTest.waitForFocus/<","sourceId":570,"lineNumber":1056,"columnNumber":13,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"nextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"formattedStack":"async*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*autofill_tests@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js:159:11\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"promiseTestResult@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js:48:10\nasync*autofill_tests@chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js:159:11\nasync*handleTask@chrome://mochikit/content/browser-test.js:1131:26\n_runTaskBasedTest@chrome://mochikit/content/browser-test.js:1203:18\nasync*Tester_execTest@chrome://mochikit/content/browser-test.js:1345:14\nnextTest/<@chrome://mochikit/content/browser-test.js:1120:14\nSimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1056:13\n","nativeSavedFrame":{}}
[task 2023-06-06T16:44:19.203Z] 16:44:19     INFO - Stack trace:
[task 2023-06-06T16:44:19.203Z] 16:44:19     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js:promiseTestResult:48
[task 2023-06-06T16:44:19.203Z] 16:44:19     INFO - chrome://mochitests/content/browser/browser/components/urlbar/tests/browser/browser_autoFill_trimURLs.js:autofill_tests:159
[task 2023-06-06T16:44:19.203Z] 16:44:19     INFO - chrome://mochikit/content/browser-test.js:handleTask:1131
[task 2023-06-06T16:44:19.203Z] 16:44:19     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1203
[task 2023-06-06T16:44:19.204Z] 16:44:19     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1345
[task 2023-06-06T16:44:19.205Z] 16:44:19     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1120
[task 2023-06-06T16:44:19.205Z] 16:44:19     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1056
[task 2023-06-06T16:44:19.205Z] 16:44:19     INFO - Not taking screenshot here: see the one that was previously logged
```