Bug: Intermittent browser/components/sessionstore/test/browser_async_window_flushing.js | We should not have added the window to the closed windows array - Got 1, expected +0
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-04-20 17:28:04+00:00
Resolved: 2022-07-25 23:06:22+00:00

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

---
```
[task 2022-04-20T16:48:12.467Z] 16:48:12     INFO - TEST-START | browser/components/sessionstore/test/browser_async_window_flushing.js
[task 2022-04-20T16:48:13.302Z] 16:48:13     INFO - GECKO(1589) | -----------------------------------------------------
[task 2022-04-20T16:48:13.302Z] 16:48:13     INFO - GECKO(1589) | Suppressions used:
[task 2022-04-20T16:48:13.303Z] 16:48:13     INFO - GECKO(1589) |   count      bytes template
[task 2022-04-20T16:48:13.303Z] 16:48:13     INFO - GECKO(1589) |      13        416 nsComponentManagerImpl
[task 2022-04-20T16:48:13.303Z] 16:48:13     INFO - GECKO(1589) |       2        288 libfontconfig.so
[task 2022-04-20T16:48:13.303Z] 16:48:13     INFO - GECKO(1589) | -----------------------------------------------------
[task 2022-04-20T16:48:13.789Z] 16:48:13     INFO - GECKO(1589) | -----------------------------------------------------
[task 2022-04-20T16:48:13.789Z] 16:48:13     INFO - GECKO(1589) | Suppressions used:
[task 2022-04-20T16:48:13.789Z] 16:48:13     INFO - GECKO(1589) |   count      bytes template
[task 2022-04-20T16:48:13.789Z] 16:48:13     INFO - GECKO(1589) |      13        416 nsComponentManagerImpl
[task 2022-04-20T16:48:13.790Z] 16:48:13     INFO - GECKO(1589) |       2        288 libfontconfig.so
[task 2022-04-20T16:48:13.790Z] 16:48:13     INFO - GECKO(1589) | -----------------------------------------------------
[task 2022-04-20T16:48:14.465Z] 16:48:14     INFO - GECKO(1589) | -----------------------------------------------------
[task 2022-04-20T16:48:14.465Z] 16:48:14     INFO - GECKO(1589) | Suppressions used:
[task 2022-04-20T16:48:14.465Z] 16:48:14     INFO - GECKO(1589) |   count      bytes template
[task 2022-04-20T16:48:14.466Z] 16:48:14     INFO - GECKO(1589) |      13        416 nsComponentManagerImpl
[task 2022-04-20T16:48:14.466Z] 16:48:14     INFO - GECKO(1589) |       2        288 libfontconfig.so
[task 2022-04-20T16:48:14.466Z] 16:48:14     INFO - GECKO(1589) | -----------------------------------------------------
[task 2022-04-20T16:48:15.039Z] 16:48:15     INFO - TEST-INFO | started process screentopng
[task 2022-04-20T16:48:15.569Z] 16:48:15     INFO - TEST-INFO | screentopng: exit 0
[task 2022-04-20T16:48:15.572Z] 16:48:15     INFO - Buffered messages logged at 16:48:12
[task 2022-04-20T16:48:15.573Z] 16:48:15     INFO - Entering test bound test_add_interesting_window
[task 2022-04-20T16:48:15.574Z] 16:48:15     INFO - Buffered messages finished
[task 2022-04-20T16:48:15.575Z] 16:48:15     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_async_window_flushing.js | We should not have added the window to the closed windows array - Got 1, expected +0
[task 2022-04-20T16:48:15.576Z] 16:48:15     INFO - Stack trace:
[task 2022-04-20T16:48:15.576Z] 16:48:15     INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-04-20T16:48:15.576Z] 16:48:15     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_async_window_flushing.js:test_add_interesting_window/<:56
[task 2022-04-20T16:48:15.576Z] 16:48:15     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/head.js:observer:640
[task 2022-04-20T16:48:15.577Z] 16:48:15     INFO - resource:///modules/sessionstore/SessionStore.jsm:ssi_observe:1018
[task 2022-04-20T16:48:15.578Z] 16:48:15     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "http://example.com/" line: 0}]
[task 2022-04-20T16:48:15.579Z] 16:48:15     INFO - TEST-PASS | browser/components/sessionstore/test/browser_async_window_flushing.js | domwindowclosed should already be handled here - 
```