Closed Bug 1670643 Opened 4 years ago Closed 4 years ago

Firefox window closes automatically after printing via print preview

Categories

(Core :: Printing: Output, defect, P1)

Firefox 83
defect

Tracking

()

VERIFIED FIXED
83 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- unaffected
firefox82 --- unaffected
firefox83 --- verified

People

(Reporter: emilghitta, Assigned: emilio)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [print2020_v83] [old-ui-])

Attachments

(2 files)

Attached image CloseWindow.gif (deleted) —

Affected versions

  • Firefox 83.0a1 (BuildId:20201011093320)

Affected platforms

  • Windows 10 64bit
  • Ubuntu 18.04 64bit
  • macOS 10.14

Steps to reproduce

  1. Launch Firefox.
  2. Open a new browser window (containing only 1 tab).
  3. Within that tab open any random webpage.
  4. Open the print preview.
  5. Print the page.

Expected result

  • The webpage is successfully printed and the browser window remains open.

Actual result

  • The webpage is successfully printed but the browser window closes.

Regression Window

Additional Information

  • [Suggested severity] S3
  • Please note that I was not sure about the regression and I’ve run the regression twice using mozregression and it pointed out Bug 1669181 each time.
  • Please note that in order to reproduce this issue the tab in question has to be the only tab opened in that particular browser window.

Hi Andre!

I am not sure about this but it seems that mozregression pointed out Bug 1669181 - Part 62: Clean-up jit/BaselineJIT.h includes. r=jandem for causing this regression.

Can you please take a look?

Thank you!

Has Regression Range: --- → yes
Has STR: --- → yes
Flags: needinfo?(andrebargull)

I've pushed a try-build using the revision directly before my changes (https://treeherder.mozilla.org/#/jobs?repo=try&selectedTaskRun=T9GWr4yEQhSMPFDo7SJPFA.0&revision=b04397bd57831684a5786ff611e5f0f7a280fd33) and that one is already showing the same behaviour, so I don't think my changes are to blame. Unfortunately debug builds are asserting for me during start-up, which makes it even more difficult to investigate which change introduced this regression.

Flags: needinfo?(andrebargull)
Whiteboard: [print2020_v83] [old-ui-]
Severity: -- → S2
Priority: -- → P1

Running a mozregression on Windows 10 pointed to https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9a36ab15f9daf0ee8fef1130a90a07ff0a79760f&tochange=478eb5e81118f164be3f3eabc584dff64efb26f9 which would be bug 1662336.

I'm not seeing any useful errors in my console with an artifact build.

Matt, any ideas as to if this is indeed caused by bug 1662336?

Flags: needinfo?(matt.woodrow)

Confirming the regression range from macOS as well; this does appear to be caused by bug 1662336.

Moving to Core, as this seems to be a platform-level bug.

Component: Printing → Printing: Output
Product: Toolkit → Core
Regressed by: 1662336
No longer regressed by: 1669181

Ah, I know why this is.

Assignee: nobody → emilio
Flags: needinfo?(matt.woodrow)

See the comment.

https://phabricator.services.mozilla.com/D90808 made it so that we
reused the print document (and thus <browser>) to do the actual print
job.

When a print job finishes, we call window.close(), which is used as a
signal to the front-end to clean up the <browser> element. Before that
patch we sent that signal to the browser created in printUtils.js, but
afterwards we send it to the preview window which causes this badness
when the event bubbles up.

Ignoring it effectively restores the previous behavior, so let's do it.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02b822f97e35 Ignore DOMWindowClose events fired at the preview browser. r=jfkthame

Backed out for causing failures on browser_modal_print failures

Backout: https://hg.mozilla.org/integration/autoland/rev/42e6d47d84774aa2304ab53184ebd4350ae543d4

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&collapsedPushes=802502&selectedTaskRun=fywwYxzARuaztUjJp5bRDA.0&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=02b822f97e3537517e6600ce763c4f28328f0e9c

Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=318711263&repo=autoland

"11:26:37 INFO - TEST-START | Shutdown
[task 2020-10-15T11:26:37.759Z] 11:26:37 INFO - Browser Chrome Test Summary
[task 2020-10-15T11:26:37.759Z] 11:26:37 INFO - Passed: 332
[task 2020-10-15T11:26:37.759Z] 11:26:37 INFO - Failed: 0
[task 2020-10-15T11:26:37.760Z] 11:26:37 INFO - Todo: 0
[task 2020-10-15T11:26:37.760Z] 11:26:37 INFO - Mode: e10s
[task 2020-10-15T11:26:37.762Z] 11:26:37 INFO - *** End BrowserChrome Test Results ***
[task 2020-10-15T11:26:37.863Z] 11:26:37 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fba49a96800 == 2 [pid = 1711] [id = 0] [url = moz-extension://8b855beb-b9f8-4782-9a02-b6bee9eef92b/_generated_background_page.html]
[task 2020-10-15T11:26:37.863Z] 11:26:37 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fba43a4d400 == 1 [pid = 1711] [id = 3] [url = moz-extension://64cad1f2-9b6b-4a04-bad9-6e8f01cd3c6b/_generated_background_page.html]
[task 2020-10-15T11:26:37.863Z] 11:26:37 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7fba437b1400 == 0 [pid = 1711] [id = 2] [url = moz-extension://ee797227-6aa6-4f40-a8f8-ad1f03b6a7a5/_generated_background_page.html]
[task 2020-10-15T11:26:37.904Z] 11:26:37 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fef4ac400 == 12 [pid = 1518] [id = 1] [url = chrome://extensions/content/dummy.xhtml]
[task 2020-10-15T11:26:38.126Z] 11:26:38 INFO - GECKO(1518) | [Parent 1518, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/netwerk/cache/nsApplicationCacheService.cpp:161
[task 2020-10-15T11:26:38.262Z] 11:26:38 INFO - GECKO(1518) | [2020-10-15T11:26:38Z WARN xulstore::persist] tried to remove key that isn't in the store
[task 2020-10-15T11:26:38.262Z] 11:26:38 INFO - GECKO(1518) | [2020-10-15T11:26:38Z WARN xulstore::persist] tried to remove key that isn't in the store
[task 2020-10-15T11:26:38.318Z] 11:26:38 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7fba600938c0) [pid = 1711] [serial = 5] [outer = (nil)] [url = moz-extension://ee797227-6aa6-4f40-a8f8-ad1f03b6a7a5/_generated_background_page.html]
[task 2020-10-15T11:26:38.318Z] 11:26:38 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7fba60093520) [pid = 1711] [serial = 1] [outer = (nil)] [url = moz-extension://8b855beb-b9f8-4782-9a02-b6bee9eef92b/_generated_background_page.html]
[task 2020-10-15T11:26:38.318Z] 11:26:38 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7fba60093a90) [pid = 1711] [serial = 7] [outer = (nil)] [url = moz-extension://64cad1f2-9b6b-4a04-bad9-6e8f01cd3c6b/_generated_background_page.html]
[task 2020-10-15T11:26:38.322Z] 11:26:38 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7fba437a5800) [pid = 1711] [serial = 12] [outer = (nil)] [url = moz-extension://64cad1f2-9b6b-4a04-bad9-6e8f01cd3c6b/_generated_background_page.html]
[task 2020-10-15T11:26:38.322Z] 11:26:38 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7fba43a51c00) [pid = 1711] [serial = 9] [outer = (nil)] [url = moz-extension://8b855beb-b9f8-4782-9a02-b6bee9eef92b/_generated_background_page.html]
[task 2020-10-15T11:26:38.322Z] 11:26:38 INFO - GECKO(1518) | [Child 1711: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7fba437a3000) [pid = 1711] [serial = 11] [outer = (nil)] [url = moz-extension://ee797227-6aa6-4f40-a8f8-ad1f03b6a7a5/_generated_background_page.html]
[task 2020-10-15T11:26:38.346Z] 11:26:38 INFO - GECKO(1518) | [Child 1711, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2020-10-15T11:26:38.386Z] 11:26:38 INFO - GECKO(1518) | [Child 1711, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-10-15T11:26:38.893Z] 11:26:38 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fe5c63c00 == 11 [pid = 1518] [id = 6] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2020-10-15T11:26:38.893Z] 11:26:38 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fecc14c00 == 10 [pid = 1518] [id = 2] [url = about:blank]
[task 2020-10-15T11:26:39.009Z] 11:26:39 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7ff2478400 == 9 [pid = 1518] [id = 0] [url = chrome://browser/content/browser.xhtml]
[task 2020-10-15T11:26:39.071Z] 11:26:39 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7feeb2b000 == 8 [pid = 1518] [id = 3] [url = resource://gre-resources/hiddenWindow.html]
[task 2020-10-15T11:26:39.134Z] 11:26:39 INFO - GECKO(1518) | [Child 1843, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2020-10-15T11:26:39.155Z] 11:26:39 INFO - GECKO(1518) | [Child 1843, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-10-15T11:26:39.175Z] 11:26:39 INFO - GECKO(1518) | [Child 1773, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2020-10-15T11:26:39.216Z] 11:26:39 INFO - GECKO(1518) | [Child 1687: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f3d36d74400 == 0 [pid = 1687] [id = 40] [url = about:blank]
[task 2020-10-15T11:26:39.232Z] 11:26:39 INFO - GECKO(1518) | [Child 1773, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-10-15T11:26:39.249Z] 11:26:39 INFO - GECKO(1518) | [Child 1801, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2020-10-15T11:26:39.284Z] 11:26:39 INFO - GECKO(1518) | [Child 1687: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f3d37e1c7d0) [pid = 1687] [serial = 114] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:39.284Z] 11:26:39 INFO - GECKO(1518) | [Child 1687: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f3d36d78000) [pid = 1687] [serial = 115] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:39.300Z] 11:26:39 INFO - GECKO(1518) | [Child 1801, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-10-15T11:26:39.315Z] 11:26:39 INFO - GECKO(1518) | [Child 1687, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2020-10-15T11:26:39.336Z] 11:26:39 INFO - GECKO(1518) | [Child 1687, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-10-15T11:26:39.520Z] 11:26:39 INFO - GECKO(1518) | 1602761199517 Marionette TRACE Received observer notification xpcom-will-shutdown
[task 2020-10-15T11:26:39.521Z] 11:26:39 INFO - GECKO(1518) | 1602761199517 Marionette INFO Stopped listening on port 2828
[task 2020-10-15T11:26:39.522Z] 11:26:39 INFO - GECKO(1518) | 1602761199517 Marionette DEBUG Marionette stopped listening
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fe284f800 == 7 [pid = 1518] [id = 17] [url = chrome://global/content/print.html?browsingContextId=67&printInitiationTime=1602761114171]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fdb328400 == 6 [pid = 1518] [id = 119] [url = chrome://global/content/print.html?browsingContextId=309&printInitiationTime=1602761180378]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fde9e1000 == 5 [pid = 1518] [id = 48] [url = chrome://global/content/print.html?browsingContextId=136&printInitiationTime=1602761132174]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7feef78800 == 4 [pid = 1518] [id = 51] [url = chrome://global/content/print.html?browsingContextId=142&printInitiationTime=1602761133528]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fdb329000 == 3 [pid = 1518] [id = 109] [url = chrome://global/content/print.html?browsingContextId=289&printInitiationTime=1602761176702]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7feef73400 == 2 [pid = 1518] [id = 103] [url = chrome://global/content/print.html?browsingContextId=10737418241&printInitiationTime=1602761172404]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fe284ac00 == 1 [pid = 1518] [id = 14] [url = chrome://global/content/print.html?browsingContextId=61&printInitiationTime=1602761113025]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 0x7f7fe77d6000 == 0 [pid = 1518] [id = 100] [url = chrome://global/content/print.html?browsingContextId=8589934595&printInitiationTime=1602761171432]
[task 2020-10-15T11:26:41.130Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 33 (0x7f7fe5dc0130) [pid = 1518] [serial = 236] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=10737418241&printInitiationTime=1602761172404]
[task 2020-10-15T11:26:41.131Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 32 (0x7f7fe5a7a6f0) [pid = 1518] [serial = 31] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=61&printInitiationTime=1602761113025]
[task 2020-10-15T11:26:41.133Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 31 (0x7f7fe4642300) [pid = 1518] [serial = 229] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=8589934595&printInitiationTime=1602761171432]
[task 2020-10-15T11:26:41.133Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 30 (0x7f7fe5dc16f0) [pid = 1518] [serial = 116] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=142&printInitiationTime=1602761133528]
[task 2020-10-15T11:26:41.134Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 29 (0x7f7fe5dc0fb0) [pid = 1518] [serial = 109] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=136&printInitiationTime=1602761132174]
[task 2020-10-15T11:26:41.137Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 28 (0x7f7fe5dc1a90) [pid = 1518] [serial = 250] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=289&printInitiationTime=1602761176702]
[task 2020-10-15T11:26:41.138Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 27 (0x7f7fe4642fb0) [pid = 1518] [serial = 272] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=309&printInitiationTime=1602761180378]
[task 2020-10-15T11:26:41.138Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (0x7f7fe5a7ac60) [pid = 1518] [serial = 38] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=67&printInitiationTime=1602761114171]
[task 2020-10-15T11:26:41.139Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (0x7f7fe284f400) [pid = 1518] [serial = 34] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.147Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (0x7f7fe456d800) [pid = 1518] [serial = 41] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.147Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (0x7f7fecc1f800) [pid = 1518] [serial = 232] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.148Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (0x7f7ff55ec400) [pid = 1518] [serial = 119] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.149Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (0x7f7fe690ac00) [pid = 1518] [serial = 112] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.149Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (0x7f7fe9ed4c00) [pid = 1518] [serial = 275] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.150Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (0x7f7fdd4e1400) [pid = 1518] [serial = 253] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.150Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (0x7f7ff55e9000) [pid = 1518] [serial = 239] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.151Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (0x7f7ff247bc00) [pid = 1518] [serial = 2] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.152Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (0x7f8012e96870) [pid = 1518] [serial = 1] [outer = (nil)] [url = chrome://browser/content/browser.xhtml]
[task 2020-10-15T11:26:41.152Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (0x7f7feef4ec60) [pid = 1518] [serial = 14] [outer = (nil)] [url = chrome://mochikit/content/browser-harness.xhtml]
[task 2020-10-15T11:26:41.154Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0x7f7fe5c62800) [pid = 1518] [serial = 15] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.155Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0x7f7feef4c2b0) [pid = 1518] [serial = 3] [outer = (nil)] [url = chrome://extensions/content/dummy.xhtml]
[task 2020-10-15T11:26:41.155Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7f7feeebac00) [pid = 1518] [serial = 4] [outer = (nil)] [url = chrome://extensions/content/dummy.xhtml]
[task 2020-10-15T11:26:41.157Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7f7feef4d4d0) [pid = 1518] [serial = 7] [outer = (nil)] [url = resource://gre-resources/hiddenWindow.html]
[task 2020-10-15T11:26:41.158Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7f7fcf935000) [pid = 1518] [serial = 295] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.158Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7f7feef4d130) [pid = 1518] [serial = 5] [outer = (nil)] [url = about:blank]
[task 2020-10-15T11:26:41.159Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7f7fe77da800) [pid = 1518] [serial = 9] [outer = (nil)] [url = resource://gre-resources/hiddenWindow.html]
[task 2020-10-15T11:26:41.159Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7f7fef4acc00) [pid = 1518] [serial = 43] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=67&printInitiationTime=1602761114171]
[task 2020-10-15T11:26:41.162Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7f7ff55ec800) [pid = 1518] [serial = 279] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=309&printInitiationTime=1602761180378]
[task 2020-10-15T11:26:41.162Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f7fde9e7400) [pid = 1518] [serial = 255] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=289&printInitiationTime=1602761176702]
[task 2020-10-15T11:26:41.163Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f7feef7d400) [pid = 1518] [serial = 114] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=136&printInitiationTime=1602761132174]
[task 2020-10-15T11:26:41.164Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7f7feef76800) [pid = 1518] [serial = 121] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=142&printInitiationTime=1602761133528]
[task 2020-10-15T11:26:41.165Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (0x7f7feef7b400) [pid = 1518] [serial = 234] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=8589934595&printInitiationTime=1602761171432]
[task 2020-10-15T11:26:41.166Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (0x7f7fe4562800) [pid = 1518] [serial = 36] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=61&printInitiationTime=1602761113025]
[task 2020-10-15T11:26:41.166Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (0x7f7ff55efc00) [pid = 1518] [serial = 241] [outer = (nil)] [url = chrome://global/content/print.html?browsingContextId=10737418241&printInitiationTime=1602761172404]
[task 2020-10-15T11:26:41.190Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518, Main Thread] WARNING: Extra shutdown CC: 'i < NORMAL_SHUTDOWN_COLLECTIONS', file /builds/worker/checkouts/gecko/xpcom/base/nsCycleCollector.cpp:3359
[task 2020-10-15T11:26:41.247Z] 11:26:41 INFO - GECKO(1518) | [Parent 1518, Main Thread] WARNING: NS_ENSURE_TRUE(Preferences::InitStaticMembers()) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:4287
[task 2020-10-15T11:26:41.294Z] 11:26:41 INFO - TEST-INFO | Main app process: exit 0
[task 2020-10-15T11:26:41.294Z] 11:26:41 INFO - TEST-INFO | Confirming we saw 248 DOCSHELL created and 248 destroyed log strings.
[task 2020-10-15T11:26:41.294Z] 11:26:41 INFO - TEST-INFO | Confirming we saw 645 DOMWINDOW created and 645 destroyed log strings.
[task 2020-10-15T11:26:41.294Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2020-10-15T11:26:41.295Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=61&printInitiationTime=1602761113025]
[task 2020-10-15T11:26:41.295Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=67&printInitiationTime=1602761114171]
[task 2020-10-15T11:26:41.296Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_modal_print.js | windows(s) leaked: [pid = 1518] [serial = 34], [pid = 1518] [serial = 41], [pid = 1518] [serial = 31], [pid = 1518] [serial = 36], [pid = 1518] [serial = 43], [pid = 1518] [serial = 38]
[task 2020-10-15T11:26:41.296Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_modal_print.js | leaked 2 docShell(s) until shutdown
[task 2020-10-15T11:26:41.296Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_modal_print.js | docShell(s) leaked: [pid = 1518] [id = 14], [pid = 1518] [id = 17]
[task 2020-10-15T11:26:41.296Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_modal_print.js | This test created 1 hidden window(s)
[task 2020-10-15T11:26:41.297Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_modal_print.js | This test created 1 hidden docshell(s)
[task 2020-10-15T11:26:41.297Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_in_container.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=142&printInitiationTime=1602761133528]
[task 2020-10-15T11:26:41.298Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_in_container.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2020-10-15T11:26:41.298Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_in_container.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=136&printInitiationTime=1602761132174]
[task 2020-10-15T11:26:41.299Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_preview_in_container.js | windows(s) leaked: [pid = 1518] [serial = 121], [pid = 1518] [serial = 116], [pid = 1518] [serial = 112], [pid = 1518] [serial = 114], [pid = 1518] [serial = 109], [pid = 1518] [serial = 119]
[task 2020-10-15T11:26:41.299Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_preview_in_container.js | leaked 2 docShell(s) until shutdown
[task 2020-10-15T11:26:41.299Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_preview_in_container.js | docShell(s) leaked: [pid = 1518] [id = 48], [pid = 1518] [id = 51]
[task 2020-10-15T11:26:41.300Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_preview_in_container.js | This test created 1 hidden window(s)
[task 2020-10-15T11:26:41.300Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_preview_in_container.js | This test created 1 hidden docshell(s)
[task 2020-10-15T11:26:41.300Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_print_selection.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=8589934595&printInitiationTime=1602761171432]
[task 2020-10-15T11:26:41.301Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_print_selection.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=10737418241&printInitiationTime=1602761172404]
[task 2020-10-15T11:26:41.301Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_print_selection.js | leaked 2 window(s) until shutdown [url = about:blank]
[task 2020-10-15T11:26:41.301Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_print_selection.js | windows(s) leaked: [pid = 1518] [serial = 229], [pid = 1518] [serial = 236], [pid = 1518] [serial = 232], [pid = 1518] [serial = 241], [pid = 1518] [serial = 234], [pid = 1518] [serial = 239]
[task 2020-10-15T11:26:41.301Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_print_selection.js | leaked 2 docShell(s) until shutdown
[task 2020-10-15T11:26:41.301Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_print_selection.js | docShell(s) leaked: [pid = 1518] [id = 103], [pid = 1518] [id = 100]
[task 2020-10-15T11:26:41.301Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_print_selection.js | This test created 1 hidden window(s)
[task 2020-10-15T11:26:41.308Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_print_selection.js | This test created 1 hidden docshell(s)
[task 2020-10-15T11:26:41.309Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=289&printInitiationTime=1602761176702]
[task 2020-10-15T11:26:41.309Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2020-10-15T11:26:41.309Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | windows(s) leaked: [pid = 1518] [serial = 255], [pid = 1518] [serial = 250], [pid = 1518] [serial = 253]
[task 2020-10-15T11:26:41.310Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | leaked 1 docShell(s) until shutdown
[task 2020-10-15T11:26:41.310Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | docShell(s) leaked: [pid = 1518] [id = 109]
[task 2020-10-15T11:26:41.311Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | This test created 1 hidden window(s)
[task 2020-10-15T11:26:41.311Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_system_dialog_subdialog_hidden.js | This test created 1 hidden docshell(s)
[task 2020-10-15T11:26:41.311Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_window_print.js | leaked 2 window(s) until shutdown [url = chrome://global/content/print.html?browsingContextId=309&printInitiationTime=1602761180378]
[task 2020-10-15T11:26:41.312Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_window_print.js | leaked 1 window(s) until shutdown [url = about:blank]
[task 2020-10-15T11:26:41.312Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_window_print.js | windows(s) leaked: [pid = 1518] [serial = 272], [pid = 1518] [serial = 279], [pid = 1518] [serial = 275]
[task 2020-10-15T11:26:41.313Z] 11:26:41 ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/printing/tests/browser_window_print.js | leaked 1 docShell(s) until shutdown
[task 2020-10-15T11:26:41.314Z] 11:26:41 INFO - TEST-INFO | toolkit/components/printing/tests/browser_window_print.js | docShell(s) leaked: [pid = 1518] [id = 119]"

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44fea8486cb1 Ignore DOMWindowClose events fired at the preview browser. r=jfkthame

Third time is the charm.

Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02d077a55ed2 Ignore DOMWindowClose events fired at the preview browser. r=jfkthame
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
Regressions: 1671754
Flags: qe-verify+

This issue is verified fixed using Firefox 83.0b2 (BuildId:20201020173725) on Windows 10 64bit, macOS 10.15.7 and Ubuntu 20.04

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: