Bug: Intermittent browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | The checkbox should be there -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-02-06 00:32:12+00:00
Resolved: 2022-07-26 00:17:08+00:00

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

---
```
[task 2022-02-05T23:14:39.348Z] 23:14:39     INFO - TEST-START | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js
[task 2022-02-05T23:14:40.285Z] 23:14:40     INFO - TEST-INFO | started process screentopng
[task 2022-02-05T23:14:40.925Z] 23:14:40     INFO - TEST-INFO | screentopng: exit 0
[task 2022-02-05T23:14:40.926Z] 23:14:40     INFO - Buffered messages logged at 23:14:39
[task 2022-02-05T23:14:40.928Z] 23:14:40     INFO - Entering test bound test_old_modal_ui
[task 2022-02-05T23:14:40.930Z] 23:14:40     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/browser/browser/base/content/test/tabPrompts/openPromptOffTimeout.html" line: 0}]
[task 2022-02-05T23:14:40.932Z] 23:14:40     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Tab with alert should have 'attention' attribute. - 
[task 2022-02-05T23:14:40.934Z] 23:14:40     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Tab with alert should not be selected - 
[task 2022-02-05T23:14:40.935Z] 23:14:40     INFO - Buffered messages logged at 23:14:40
[task 2022-02-05T23:14:40.939Z] 23:14:40     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | There should be 1 prompt - 
[task 2022-02-05T23:14:40.940Z] 23:14:40     INFO - Buffered messages finished
[task 2022-02-05T23:14:40.941Z] 23:14:40     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | The checkbox should be there - 
[task 2022-02-05T23:14:40.942Z] 23:14:40     INFO - Stack trace:
[task 2022-02-05T23:14:40.943Z] 23:14:40     INFO - chrome://mochikit/content/browser-test.js:test_ok:1394
[task 2022-02-05T23:14:40.944Z] 23:14:40     INFO - chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js:test_old_modal_ui:65
[task 2022-02-05T23:14:40.945Z] 23:14:40     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-05T23:14:40.946Z] 23:14:40     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Uncaught exception in test - at chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js:66 - TypeError: can't access property "checked", checkbox is null
[task 2022-02-05T23:14:40.947Z] 23:14:40     INFO - Stack trace:
[task 2022-02-05T23:14:40.947Z] 23:14:40     INFO - test_old_modal_ui@chrome://mochitests/content/browser/browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js:66:6
[task 2022-02-05T23:14:40.948Z] 23:14:40     INFO - Leaving test bound test_old_modal_ui
[task 2022-02-05T23:14:40.949Z] 23:14:40     INFO - Entering test bound test_new_modal_ui
[task 2022-02-05T23:14:40.951Z] 23:14:40     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/browser/browser/base/content/test/tabPrompts/openPromptOffTimeout.html" line: 0}]
[task 2022-02-05T23:14:40.985Z] 23:14:40     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Tab with alert should have 'attention' attribute. - 
[task 2022-02-05T23:14:40.987Z] 23:14:40     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Tab with alert should not be selected - 
[task 2022-02-05T23:14:41.299Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | There should be 1 prompt - 
[task 2022-02-05T23:14:41.301Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Content prompt manager should have 1 dialog box. - 
[task 2022-02-05T23:14:41.303Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | The checkbox should be there - 
[task 2022-02-05T23:14:41.305Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Checkbox shouldn't be checked - 
[task 2022-02-05T23:14:41.309Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Dialog should be closed - 
[task 2022-02-05T23:14:41.310Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Tab switching should now be allowed - 
[task 2022-02-05T23:14:41.474Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | undefined assertion name - 
[task 2022-02-05T23:14:41.477Z] 23:14:41     INFO - TEST-PASS | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | identity-permission-box signals granted permissions - 
[task 2022-02-05T23:15:24.360Z] 23:15:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-05T23:15:24.360Z] 23:15:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Test timed out - 
[task 2022-02-05T23:15:24.370Z] 23:15:24     INFO - GECKO(4707) | MEMORY STAT | vsize 11806MB | residentFast 820MB | heapAllocated 486MB
[task 2022-02-05T23:15:24.371Z] 23:15:24     INFO - TEST-OK | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | took 45022ms
[task 2022-02-05T23:15:24.372Z] 23:15:24     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-02-05T23:15:24.373Z] 23:15:24     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/tabPrompts/browser_openPromptInBackgroundTab.js | Found a tab after previous test timed out: http://example.com/browser/browser/base/content/test/tabPrompts/openPromptOffTimeout.html - 
[task 2022-02-05T23:15:24.980Z] 23:15:24     INFO - GECKO(4707) | JavaScript error: resource://gre/modules/Prompter.jsm, line 1057: AbortError: Actor 'Prompt' destroyed before query 'Prompt:Open' was resolved
[task 2022-02-05T23:15:24.983Z] 23:15:24     INFO - GECKO(4707) | JavaScript error: resource://gre/modules/Prompter.jsm, line 1057: AbortError: Actor 'Prompt' destroyed before query 'Prompt:Open' was resolved
<...>
```