Bug: Intermittent browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-12-01 17:11:42+00:00
Resolved: 2025-02-24 12:40:23+00:00

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

---
```
[task 2022-12-01T15:41:06.833Z] 15:41:06     INFO - TEST-START | browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js
[task 2022-12-01T15:41:07.572Z] 15:41:07     INFO - TEST-INFO | started process screentopng
[task 2022-12-01T15:41:07.799Z] 15:41:07     INFO - TEST-INFO | screentopng: exit 0
[task 2022-12-01T15:41:07.800Z] 15:41:07     INFO - Buffered messages logged at 15:41:06
[task 2022-12-01T15:41:07.801Z] 15:41:07     INFO - Entering setup bound 
[task 2022-12-01T15:41:07.801Z] 15:41:07     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js | The screenshots button was added to the nav bar - {"_inheritedElements":null,"initializedAttributeInheritance":true} == true - 
[task 2022-12-01T15:41:07.801Z] 15:41:07     INFO - Leaving setup bound 
[task 2022-12-01T15:41:07.802Z] 15:41:07     INFO - Entering test bound testPanelFocused
[task 2022-12-01T15:41:07.802Z] 15:41:07     INFO - Buffered messages logged at 15:41:07
[task 2022-12-01T15:41:07.803Z] 15:41:07     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js | The screenshot toolbar button is visible - 
[task 2022-12-01T15:41:07.803Z] 15:41:07     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "resource:///modules/ScreenshotsOverlayChild.sys.mjs" line: 359}]
[task 2022-12-01T15:41:07.804Z] 15:41:07     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js | Panel buttons are visible - 
[task 2022-12-01T15:41:07.805Z] 15:41:07     INFO - Overlay is visible
[task 2022-12-01T15:41:07.806Z] 15:41:07     INFO - Buffered messages finished
[task 2022-12-01T15:41:07.808Z] 15:41:07     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js | Visible button is focused - Got [object HTMLButtonElement], expected null
[task 2022-12-01T15:41:07.808Z] 15:41:07     INFO - Stack trace:
[task 2022-12-01T15:41:07.808Z] 15:41:07     INFO - chrome://mochikit/content/browser-test.js:test_is:1477
[task 2022-12-01T15:41:07.808Z] 15:41:07     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js:testPanelFocused/<:27
[task 2022-12-01T15:41:07.808Z] 15:41:07     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“r” modifiers=“accel,alt” id=“key_toggleReaderMode”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1403}]
[task 2022-12-01T15:41:07.809Z] 15:41:07     INFO - Console message: [JavaScript Warning: "Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox”" {file: "chrome://mochikit/content/tests/SimpleTest/EventUtils.js" line: 1403}]
[task 2022-12-01T15:41:08.064Z] 15:41:08     INFO - Leaving test bound testPanelFocused
[task 2022-12-01T15:41:08.327Z] 15:41:08     INFO - GECKO(2323) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-12-01T15:41:08.331Z] 15:41:08     INFO - GECKO(2323) | MEMORY STAT | vsize 11423MB | residentFast 506MB | heapAllocated 261MB
[task 2022-12-01T15:41:08.333Z] 15:41:08     INFO - TEST-OK | browser/components/screenshots/tests/browser/browser_screenshots_focus_test.js | took 1501ms
[task 2022-12-01T15:41:08.405Z] 15:41:08     INFO - checking window state
[task 2022-12-01T15:41:08.489Z] 15:41:08     INFO - GECKO(2323) | Completed ShutdownLeaks collections in process 2323
[task 2022-12-01T15:41:08.490Z] 15:41:08     INFO - TEST-START | Shutdown
[task 2022-12-01T15:41:08.491Z] 15:41:08     INFO - Browser Chrome Test Summary
[task 2022-12-01T15:41:08.492Z] 15:41:08     INFO - Passed:  3
[task 2022-12-01T15:41:08.493Z] 15:41:08     INFO - Failed:  1
[task 2022-12-01T15:41:08.494Z] 15:41:08     INFO - Todo:    0
[task 2022-12-01T15:41:08.495Z] 15:41:08     INFO - Mode:    e10s
[task 2022-12-01T15:41:08.496Z] 15:41:08     INFO - *** End BrowserChrome Test Results ***
```