Bug: Intermittent browser/components/preferences/tests/browser_subdialogs.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. -
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-05-13 19:44:53+00:00
Resolved: 2022-04-12 17:02:37+00:00

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

---
```
[task 2021-05-13T18:12:35.341Z] 18:12:35     INFO - TEST-START | browser/components/preferences/tests/browser_subdialogs.js
[task 2021-05-13T18:13:23.052Z] 18:13:23     INFO - TEST-INFO | started process screencapture
[task 2021-05-13T18:13:23.102Z] 18:13:23     INFO - TEST-INFO | screencapture: exit 0
[task 2021-05-13T18:13:23.102Z] 18:13:23     INFO - <snipped 177 output lines - if you need more context, please use SimpleTest.requestCompleteLog() in your test>
[task 2021-05-13T18:13:23.102Z] 18:13:23     INFO - Buffered messages logged at 18:13:11
[task 2021-05-13T18:13:23.104Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | No stylesheets that were expected are missing - 0 == 0 - 
[task 2021-05-13T18:13:23.104Z] 18:13:23     INFO - canceling the dialog
[task 2021-05-13T18:13:23.104Z] 18:13:23     INFO - waiting for dialogclosing
[task 2021-05-13T18:13:23.105Z] 18:13:23     INFO - URI chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml
[task 2021-05-13T18:13:23.105Z] 18:13:23     INFO - Waiting for subdialog unload
[task 2021-05-13T18:13:23.105Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | overlay is not visible - "" != "visible" - 
[task 2021-05-13T18:13:23.105Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | inline styles should be cleared - "" == "" - 
[task 2021-05-13T18:13:23.111Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | closing event should indicate button was 'cancel' - "cancel" == "cancel" - 
[task 2021-05-13T18:13:23.112Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | should be 1 if accepted, 0 if canceled, undefined if closed w/out button - 0 == 0 - 
[task 2021-05-13T18:13:23.112Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | dialog count should decrease by 1 - 0 == 0 - 
[task 2021-05-13T18:13:23.112Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | stack children count should decrease by 1 - 1 == 1 - 
[task 2021-05-13T18:13:23.113Z] 18:13:23     INFO - Leaving test bound escape_should_close_dialog
[task 2021-05-13T18:13:23.113Z] 18:13:23     INFO - Entering test bound correct_width_and_height_should_be_used_for_dialog
[task 2021-05-13T18:13:23.113Z] 18:13:23     INFO - Buffered messages logged at 18:13:12
[task 2021-05-13T18:13:23.113Z] 18:13:23     INFO - waiting for subdialog DOMFrameContentLoaded
[task 2021-05-13T18:13:23.113Z] 18:13:23     INFO - Buffered messages logged at 18:13:13
[task 2021-05-13T18:13:23.113Z] 18:13:23     INFO - waiting for subdialog load
[task 2021-05-13T18:13:23.114Z] 18:13:23     INFO - subdialog window is loaded[task 2021-05-13T18:13:23.114Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | The dialog should be non-null - true == true - 
[task 2021-05-13T18:13:23.114Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Subdialog URL should not be about:blank - "chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml" != "about:blank" - 
[task 2021-05-13T18:13:23.114Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Overlay should be visible - "visible" == "visible" - 
[task 2021-05-13T18:13:23.115Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | No stylesheets that were expected are missing - 0 == 0 - 
[task 2021-05-13T18:13:23.115Z] 18:13:23     INFO - Buffered messages logged at 18:13:14
[task 2021-05-13T18:13:23.115Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width should be set on the frame from the dialog - 480.72 >= 478.717 - 
[task 2021-05-13T18:13:23.115Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width should be set on the frame from the dialog - 476.72 <= 478.717 - 
[task 2021-05-13T18:13:23.115Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Height should be set on the frame from the dialog - 76.80000000000001 >= 74.8 - 
[task 2021-05-13T18:13:23.116Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Height should be set on the frame from the dialog - 72.80000000000001 <= 74.8 - 
[task 2021-05-13T18:13:23.116Z] 18:13:23     INFO - waiting for dialogclosing
[task 2021-05-13T18:13:23.116Z] 18:13:23     INFO - URI chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml
[task 2021-05-13T18:13:23.117Z] 18:13:23     INFO - Waiting for subdialog unload
[task 2021-05-13T18:13:23.117Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | overlay is not visible - "" != "visible" - 
[task 2021-05-13T18:13:23.117Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | inline styles should be cleared - "" == "" - 
[task 2021-05-13T18:13:23.122Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | closing event should indicate button was 'null' - null == null - 
[task 2021-05-13T18:13:23.123Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | should be 1 if accepted, 0 if canceled, undefined if closed w/out button - 0 == 0 - 
[task 2021-05-13T18:13:23.123Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | dialog count should decrease by 1 - 0 == 0 - 
[task 2021-05-13T18:13:23.123Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | stack children count should decrease by 1 - 1 == 1 - 
[task 2021-05-13T18:13:23.123Z] 18:13:23     INFO - Leaving test bound correct_width_and_height_should_be_used_for_dialog
[task 2021-05-13T18:13:23.123Z] 18:13:23     INFO - Entering test bound wrapped_text_in_dialog_should_have_expected_scrollHeight
[task 2021-05-13T18:13:23.124Z] 18:13:23     INFO - Buffered messages logged at 18:13:15
[task 2021-05-13T18:13:23.124Z] 18:13:23     INFO - waiting for subdialog DOMFrameContentLoaded
[task 2021-05-13T18:13:23.124Z] 18:13:23     INFO - Buffered messages logged at 18:13:16
[task 2021-05-13T18:13:23.124Z] 18:13:23     INFO - waiting for subdialog load
[task 2021-05-13T18:13:23.125Z] 18:13:23     INFO - subdialog window is loaded
[task 2021-05-13T18:13:23.125Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | The dialog should be non-null - true == true - 
[task 2021-05-13T18:13:23.125Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Subdialog URL should not be about:blank - "chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml" != "about:blank" - 
[task 2021-05-13T18:13:23.125Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Overlay should be visible - "visible" == "visible" - 
[task 2021-05-13T18:13:23.125Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | No stylesheets that were expected are missing - 0 == 0 - 
[task 2021-05-13T18:13:23.126Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width should be set on the frame from the dialog - 480.72 >= 478.717 - 
[task 2021-05-13T18:13:23.126Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width should be set on the frame from the dialog - 476.72 <= 478.717 - 
[task 2021-05-13T18:13:23.126Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Content height increased (from 236 to 432). - true == true - 
[task 2021-05-13T18:13:23.126Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Height on the frame should be higher now. This test may fail on certain screen resoluition. See bug 1420576 and bug 1205717. - 434 >= 432 - 
[task 2021-05-13T18:13:23.126Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Height on the frame should be higher now. This test may fail on certain screen resoluition. See bug 1420576 and bug 1205717. - 430 <= 432 - 
[task 2021-05-13T18:13:23.126Z] 18:13:23     INFO - waiting for dialogclosing
[task 2021-05-13T18:13:23.127Z] 18:13:23     INFO - URI chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml
[task 2021-05-13T18:13:23.127Z] 18:13:23     INFO - Buffered messages logged at 18:13:17
[task 2021-05-13T18:13:23.127Z] 18:13:23     INFO - Waiting for subdialog unload[task 2021-05-13T18:13:23.127Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | overlay is not visible - "" != "visible" - 
[task 2021-05-13T18:13:23.132Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | inline styles should be cleared - "" == "" - 
[task 2021-05-13T18:13:23.132Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | closing event should indicate button was 'null' - null == null - 
[task 2021-05-13T18:13:23.132Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | should be 1 if accepted, 0 if canceled, undefined if closed w/out button - 0 == 0 - 
[task 2021-05-13T18:13:23.133Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | dialog count should decrease by 1 - 0 == 0 - 
[task 2021-05-13T18:13:23.133Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | stack children count should decrease by 1 - 1 == 1 - 
[task 2021-05-13T18:13:23.133Z] 18:13:23     INFO - Leaving test bound wrapped_text_in_dialog_should_have_expected_scrollHeight
[task 2021-05-13T18:13:23.133Z] 18:13:23     INFO - Entering test bound dialog_too_tall_should_get_reduced_in_height
[task 2021-05-13T18:13:23.133Z] 18:13:23     INFO - waiting for subdialog DOMFrameContentLoaded
[task 2021-05-13T18:13:23.134Z] 18:13:23     INFO - Buffered messages logged at 18:13:18
[task 2021-05-13T18:13:23.134Z] 18:13:23     INFO - waiting for subdialog load
[task 2021-05-13T18:13:23.134Z] 18:13:23     INFO - Buffered messages logged at 18:13:19
[task 2021-05-13T18:13:23.134Z] 18:13:23     INFO - subdialog window is loaded
[task 2021-05-13T18:13:23.134Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | The dialog should be non-null - true == true - 
[task 2021-05-13T18:13:23.135Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Subdialog URL should not be about:blank - "chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml" != "about:blank" - 
[task 2021-05-13T18:13:23.135Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Overlay should be visible - "visible" == "visible" - 
[task 2021-05-13T18:13:23.135Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | No stylesheets that were expected are missing - 0 == 0 - 
[task 2021-05-13T18:13:23.135Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width should be set on the frame from the dialog - 480.72 >= 478.717 - 
[task 2021-05-13T18:13:23.135Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width should be set on the frame from the dialog - 476.72 <= 478.717 - 
[task 2021-05-13T18:13:23.135Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Height on the frame should be smaller than window's innerHeight - 823 < 916 - 
[task 2021-05-13T18:13:23.136Z] 18:13:23     INFO - waiting for dialogclosing
[task 2021-05-13T18:13:23.136Z] 18:13:23     INFO - URI chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml
[task 2021-05-13T18:13:23.136Z] 18:13:23     INFO - Waiting for subdialog unload
[task 2021-05-13T18:13:23.136Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | overlay is not visible - "" != "visible" - 
[task 2021-05-13T18:13:23.136Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | inline styles should be cleared - "" == "" - 
[task 2021-05-13T18:13:23.136Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | closing event should indicate button was 'null' - null == null - 
[task 2021-05-13T18:13:23.137Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | should be 1 if accepted, 0 if canceled, undefined if closed w/out button - 0 == 0 - 
[task 2021-05-13T18:13:23.137Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | dialog count should decrease by 1 - 0 == 0 - 
[task 2021-05-13T18:13:23.137Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | stack children count should decrease by 1 - 1 == 1 - 
[task 2021-05-13T18:13:23.137Z] 18:13:23     INFO - Leaving test bound dialog_too_tall_should_get_reduced_in_height
[task 2021-05-13T18:13:23.137Z] 18:13:23     INFO - Entering test bound scrollWidth_and_scrollHeight_from_subdialog_should_size_the_browser
[task 2021-05-13T18:13:23.137Z] 18:13:23     INFO - Buffered messages logged at 18:13:20
[task 2021-05-13T18:13:23.138Z] 18:13:23     INFO - waiting for subdialog DOMFrameContentLoaded
[task 2021-05-13T18:13:23.138Z] 18:13:23     INFO - Buffered messages logged at 18:13:21
[task 2021-05-13T18:13:23.138Z] 18:13:23     INFO - waiting for subdialog load
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - subdialog window is loaded
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | The dialog should be non-null - true == true - 
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Subdialog URL should not be about:blank - "chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml" != "about:blank" - 
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Overlay should be visible - "visible" == "visible" - 
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | No stylesheets that were expected are missing - 0 == 0 - 
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Width (623px) should be set to a px value of the scrollWidth from the dialog - true == true - 
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | Height (236px) should be set to a px value of the scrollHeight from the dialog - "236px" matches "/px$/" - 
[task 2021-05-13T18:13:23.144Z] 18:13:23     INFO - Buffered messages logged at 18:13:22
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - waiting for dialogclosing[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - URI chrome://mochitests/content/browser/browser/components/preferences/tests/subdialog.xhtml
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - Waiting for subdialog unload
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | overlay is not visible - "" != "visible" - 
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | inline styles should be cleared - "" == "" - 
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | closing event should indicate button was 'null' - null == null - 
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | should be 1 if accepted, 0 if canceled, undefined if closed w/out button - 0 == 0 - 
[task 2021-05-13T18:13:23.145Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | dialog count should decrease by 1 - 0 == 0 - 
[task 2021-05-13T18:13:23.146Z] 18:13:23     INFO - TEST-PASS | browser/components/preferences/tests/browser_subdialogs.js | stack children count should decrease by 1 - 1 == 1 - 
[task 2021-05-13T18:13:23.146Z] 18:13:23     INFO - Leaving test bound scrollWidth_and_scrollHeight_from_subdialog_should_size_the_browser
[task 2021-05-13T18:13:23.146Z] 18:13:23     INFO - Entering test bound test_shutdown
[task 2021-05-13T18:13:23.146Z] 18:13:23     INFO - Leaving test bound test_shutdown
[task 2021-05-13T18:13:23.146Z] 18:13:23     INFO - Buffered messages finished
[task 2021-05-13T18:13:23.146Z] 18:13:23     INFO - TEST-UNEXPECTED-FAIL | browser/components/preferences/tests/browser_subdialogs.js | This test exceeded the timeout threshold. It should be rewritten or split up. If that's not possible, use requestLongerTimeout(N), but only as a last resort. - ```