Bug: Intermittent TV browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2023-03-08 21:32:04+00:00
Resolved: 2023-04-15 23:18:45+00:00

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

---
```
[task 2023-03-08T18:57:23.686Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | The firefox view tab in the original window is now selected - 
[task 2023-03-08T18:57:23.686Z] 18:57:23     INFO - Buffered messages finished
[task 2023-03-08T18:57:23.687Z] 18:57:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | View visibility updated when we switch tab - 
[task 2023-03-08T18:57:23.687Z] 18:57:23     INFO - Stack trace:
[task 2023-03-08T18:57:23.687Z] 18:57:23     INFO - chrome://mochikit/content/browser-test.js:test_ok:1482
[task 2023-03-08T18:57:23.687Z] 18:57:23     INFO - chrome://mochitests/content/browser/browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js:test_tab_pickup_visibility/<:99
[task 2023-03-08T18:57:23.687Z] 18:57:23     INFO - Console message: 1678301843496	FirefoxView.TabsSetup	DEBUG	updateViewVisiblity for instance: 4407883, visibility: unloaded
[task 2023-03-08T18:57:23.688Z] 18:57:23     INFO - Console message: 1678301843497	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-03-08T18:57:23.688Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | View visibility updated after withFirefoxView - 
[task 2023-03-08T18:57:23.689Z] 18:57:23     INFO - Leaving test bound test_tab_pickup_visibility
[task 2023-03-08T18:57:23.689Z] 18:57:23     INFO - Entering test bound test_instance_closed
[task 2023-03-08T18:57:23.690Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Initially hasVisibleViews is false - 
[task 2023-03-08T18:57:23.691Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Initially, there are no visible views - 
[task 2023-03-08T18:57:23.691Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | During setup, the about:firefoxview tab is not selected - 
[task 2023-03-08T18:57:23.692Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Firefox View tab doesn't exist prior to clicking the button - true == true - 
[task 2023-03-08T18:57:23.692Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Firefox View tab exists - [object XULElement] == true - 
[task 2023-03-08T18:57:23.693Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Firefox View tab is hidden - true == true - 
[task 2023-03-08T18:57:23.693Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Firefox View tab is not in the list of visible tabs - -1 == -1 - 
[task 2023-03-08T18:57:23.694Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Firefox View tab is selected - true == true - 
[task 2023-03-08T18:57:23.694Z] 18:57:23     INFO - Console message: 1678301843573	FirefoxView.TabsSetup	DEBUG	updateViewVisiblity for instance: 4800381, visibility: closed
[task 2023-03-08T18:57:23.694Z] 18:57:23     INFO - Console message: 1678301843573	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-03-08T18:57:23.694Z] 18:57:23     INFO - Console message: 1678301843574	FirefoxView.TabsSetup	DEBUG	updateViewVisiblity for instance: 4800381, visibility: closed
[task 2023-03-08T18:57:23.695Z] 18:57:23     INFO - Console message: 1678301843574	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-03-08T18:57:23.696Z] 18:57:23     INFO - tab-pickup.open pref: false
[task 2023-03-08T18:57:23.696Z] 18:57:23     INFO - isTabSyncSetupComplete: true
[task 2023-03-08T18:57:23.697Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | Tab Pickup container should be closed - 
[task 2023-03-08T18:57:23.697Z] 18:57:23     INFO - _viewVisibilityStates[
[task 2023-03-08T18:57:23.697Z] 18:57:23     INFO -   "closed"
[task 2023-03-08T18:57:23.697Z] 18:57:23     INFO - ]
[task 2023-03-08T18:57:23.698Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | no visible views - 
[task 2023-03-08T18:57:23.698Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | One registered view - 
[task 2023-03-08T18:57:23.699Z] 18:57:23     INFO - TEST-PASS | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | view visible - 
[task 2023-03-08T18:57:23.699Z] 18:57:23     INFO - Console message: 1678301843600	FirefoxView.TabsSetup	DEBUG	updateViewVisiblity for instance: 4800381, visibility: visible
[task 2023-03-08T18:57:23.699Z] 18:57:23     INFO - Console message: 1678301843606	FirefoxView.TabsSetup	DEBUG	updateViewVisiblity for instance: 4800381, visibility: hidden
[task 2023-03-08T18:57:23.700Z] 18:57:23     INFO - Console message: 1678301843606	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-03-08T18:57:23.700Z] 18:57:23     INFO - Console message: 1678301843606	FirefoxView.TabsSetup	DEBUG	updateViewVisiblity for instance: 4800381, visibility: unloaded
[task 2023-03-08T18:57:23.701Z] 18:57:23     INFO - Console message: 1678301843606	FirefoxView.TabsSetup	DEBUG	Resetting timestamp and tabs pending flags as there are no visible views
[task 2023-03-08T18:57:23.701Z] 18:57:23     INFO - Leaving test bound test_instance_closed
[task 2023-03-08T18:57:23.952Z] 18:57:23     INFO - GECKO(2684) | MEMORY STAT | vsize 2112483MB | vsizeMaxContiguous 66873097MB | residentFast 349MB | heapAllocated 192MB
[task 2023-03-08T18:57:23.954Z] 18:57:23     INFO - TEST-OK | browser/components/firefoxview/tests/browser/browser_tab_pickup_visibility.js | took 1222ms
[task 2023-03-08T18:57:23.964Z] 18:57:23     INFO - checking window state
[task 2023-03-08T18:57:23.973Z] 18:57:23     INFO - GECKO(2684) | Completed ShutdownLeaks collections in process 1060
[task 2023-03-08T18:57:23.973Z] 18:57:23     INFO - TEST-START | Shutdown
```