Bug: ubuntu1804 - browser/components/sessionstore/test/browser_477657.js | the window remains maximized - Got 3, expected 1
Status: RESOLVED
Priority: P5
Resolution: WORKSFORME
Created: 2020-01-21 23:07:37+00:00
Resolved: 2023-10-12 12:13:12+00:00

**Filed by:** egao [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=285823928&repo=try
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Q4cGcX8RS9-rgQ81TLvRMA/runs/0/artifacts/public/logs/live_backing.log

---

suite: mochitest-browser-chrome

notes: asan

context:
[task 2020-01-21T20:18:05.030Z] 20:18:05     INFO - TEST-START | browser/components/sessionstore/test/browser_477657.js
[task 2020-01-21T20:18:06.254Z] 20:18:06     INFO - TEST-INFO | started process screentopng
[task 2020-01-21T20:18:06.656Z] 20:18:06     INFO - TEST-INFO | screentopng: exit 0
[task 2020-01-21T20:18:06.657Z] 20:18:06     INFO - Buffered messages logged at 20:18:05
[task 2020-01-21T20:18:06.657Z] 20:18:06     INFO - Entering test bound test_sizemodeDefaults
[task 2020-01-21T20:18:06.657Z] 20:18:06     INFO - TEST-PASS | browser/components/sessionstore/test/browser_477657.js | window value was set before the window was overwritten - 
[task 2020-01-21T20:18:06.657Z] 20:18:06     INFO - Buffered messages logged at 20:18:06
[task 2020-01-21T20:18:06.657Z] 20:18:06     INFO - TEST-PASS | browser/components/sessionstore/test/browser_477657.js | window value was implicitly cleared - 
[task 2020-01-21T20:18:06.657Z] 20:18:06     INFO - TEST-PASS | browser/components/sessionstore/test/browser_477657.js | the window was maximized - 
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - TEST-PASS | browser/components/sessionstore/test/browser_477657.js | the closed tab was added before the window was overwritten - 
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - TEST-PASS | browser/components/sessionstore/test/browser_477657.js | closed tabs were implicitly cleared - 
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - Buffered messages finished
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_477657.js | the window remains maximized - Got 3, expected 1
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - Stack trace:
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - chrome://mochikit/content/browser-test.js:test_is:1320
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_477657.js:test_sizemodeDefaults:63
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1062
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:925
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:808
[task 2020-01-21T20:18:06.658Z] 20:18:06     INFO - TEST-PASS | browser/components/sessionstore/test/browser_477657.js | the window was explicitly unmaximized - 
[task 2020-01-21T20:18:06.693Z] 20:18:06     INFO - Console message: SessionStore: [process-switch]: cannot find tabbrowser for loading tab - ignoring
[task 2020-01-21T20:18:06.693Z] 20:18:06     INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIControllers.removeController]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/elements/browser-custom-element.js :: destroy :: line 1374"  data: no]"]
[task 2020-01-21T20:18:06.693Z] 20:18:06     INFO - destroy@chrome://global/content/elements/browser-custom-element.js:1374:28
[task 2020-01-21T20:18:06.694Z] 20:18:06     INFO - disconnectedCallback@chrome://global/content/elements/browser-custom-element.js:408:12
[task 2020-01-21T20:18:06.694Z] 20:18:06     INFO - removePreloadedBrowser@resource:///modules/NewTabPagePreloading.jsm:200:41
[task 2020-01-21T20:18:06.694Z] 20:18:06     INFO - onUnload@chrome://browser/content/browser.js:2442:26
[task 2020-01-21T20:18:06.694Z] 20:18:06     INFO - EventHandlerNonNull*@chrome://browser/content/browser.xhtml:119:43
[task 2020-01-21T20:18:06.694Z] 20:18:06     INFO - 
[task 2020-01-21T20:18:06.701Z] 20:18:06     INFO - Leaving test bound test_sizemodeDefaults
[task 2020-01-21T20:18:06.717Z] 20:18:06     INFO - GECKO(2520) | MEMORY STAT | vsize 20975367MB | residentFast 1533MB
[task 2020-01-21T20:18:06.717Z] 20:18:06     INFO - TEST-OK | browser/components/sessionstore/test/browser_477657.js | took 1686ms