Bug: Intermittent browser/modules/test/browser/browser_TabUnloader.js | index X is correct - Got [object XULElement], expected [object XULElement]
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2021-02-25 13:25:41+00:00
Resolved: 2021-09-20 06:34:50+00:00

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

---
```
[task 2021-02-25T11:17:42.162Z] 11:17:42     INFO - TEST-START | browser/modules/test/browser/browser_TabUnloader.js
[task 2021-02-25T11:17:43.107Z] 11:17:43     INFO - GECKO(9344) | Waiting for browser load
[task 2021-02-25T11:17:43.107Z] 11:17:43     INFO - GECKO(9344) | Waiting for browser state change
[task 2021-02-25T11:17:43.123Z] 11:17:43     INFO - GECKO(9344) | Saw state f0001 and status 0
[task 2021-02-25T11:17:43.388Z] 11:17:43     INFO - GECKO(9344) | Saw state c0010 and status 0
[task 2021-02-25T11:17:43.388Z] 11:17:43     INFO - GECKO(9344) | Browser got expected state change https://example.com/browser/browser/modules/test/browser/file_mediaPlayback.html
[task 2021-02-25T11:17:43.430Z] 11:17:43     INFO - GECKO(9344) | Waiting for browser load
[task 2021-02-25T11:17:43.432Z] 11:17:43     INFO - GECKO(9344) | Waiting for browser state change
[task 2021-02-25T11:17:43.446Z] 11:17:43     INFO - GECKO(9344) | Saw state f0001 and status 0
[task 2021-02-25T11:17:43.648Z] 11:17:43     INFO - GECKO(9344) | Saw state c0010 and status 0
[task 2021-02-25T11:17:43.650Z] 11:17:43     INFO - GECKO(9344) | Browser got expected state change https://example.com/browser/browser/modules/test/browser/file_mediaPlayback.html
[task 2021-02-25T11:17:45.535Z] 11:17:45     INFO - TEST-INFO | started process screentopng
[task 2021-02-25T11:17:45.824Z] 11:17:45     INFO - TEST-INFO | screentopng: exit 0
[task 2021-02-25T11:17:45.826Z] 11:17:45     INFO - Buffered messages logged at 11:17:42
[task 2021-02-25T11:17:45.826Z] 11:17:45     INFO - Entering test bound test
[task 2021-02-25T11:17:45.826Z] 11:17:45     INFO - Buffered messages logged at 11:17:43
[task 2021-02-25T11:17:45.826Z] 11:17:45     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/browser/modules/test/browser/file_mediaPlayback.html" line: 0}]
[task 2021-02-25T11:17:45.826Z] 11:17:45     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:470:13
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - 
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/browser/modules/test/browser/file_mediaPlayback.html" line: 0}]
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - Buffered messages logged at 11:17:45
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - TEST-PASS | browser/modules/test/browser/browser_TabUnloader.js | tab is pinned - 
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - TEST-PASS | browser/modules/test/browser/browser_TabUnloader.js | tab is playing sound - 
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - TEST-PASS | browser/modules/test/browser/browser_TabUnloader.js | tab is pinned and playing sound - 
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - TEST-PASS | browser/modules/test/browser/browser_TabUnloader.js | right number of tabs in discard sort list - 
[task 2021-02-25T11:17:45.827Z] 11:17:45     INFO - TEST-PASS | browser/modules/test/browser/browser_TabUnloader.js | index 0 is correct - 
[task 2021-02-25T11:17:45.828Z] 11:17:45     INFO - TEST-PASS | browser/modules/test/browser/browser_TabUnloader.js | index 1 is correct - 
[task 2021-02-25T11:17:45.828Z] 11:17:45     INFO - Buffered messages finished
[task 2021-02-25T11:17:45.828Z] 11:17:45     INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_TabUnloader.js | index 2 is correct - Got [object XULElement], expected [object XULElement]```