Bug: Intermittent TV browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | screenshot data exists on the clipboard | Uncaught exception - at chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-12-15 22:10:54+00:00
Resolved: 2022-08-19 14:53:35+00:00

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

---
```
[task 2021-12-15T20:48:27.717Z] 20:48:27     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | Got the copy button - 
[task 2021-12-15T20:48:27.717Z] 20:48:27     INFO - Waiting for clipboard change
[task 2021-12-15T20:48:27.718Z] 20:48:27     INFO - Buffered messages finished
[task 2021-12-15T20:48:27.719Z] 20:48:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | screenshot data exists on the clipboard - 
[task 2021-12-15T20:48:27.719Z] 20:48:27     INFO - Stack trace:
[task 2021-12-15T20:48:27.719Z] 20:48:27     INFO - chrome://mochikit/content/browser-test.js:test_ok:1375
[task 2021-12-15T20:48:27.719Z] 20:48:27     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js:getImageSizeAndColorFromClipboard:126
[task 2021-12-15T20:48:27.719Z] 20:48:27     INFO - chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js:test_fullpageScreenshot/<:66
[task 2021-12-15T20:48:27.720Z] 20:48:27     INFO - Not taking screenshot here: see the one that was previously logged
[task 2021-12-15T20:48:27.721Z] 20:48:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js:140 - Error: Unable to read image data
[task 2021-12-15T20:48:27.721Z] 20:48:27     INFO - Stack trace:
[task 2021-12-15T20:48:27.721Z] 20:48:27     INFO - getImageSizeAndColorFromClipboard@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/head.js:140:13
[task 2021-12-15T20:48:27.721Z] 20:48:27     INFO - test_fullpageScreenshot/<@chrome://mochitests/content/browser/browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js:66:33
[task 2021-12-15T20:48:27.721Z] 20:48:27     INFO - Leaving test bound test_fullpageScreenshot
[task 2021-12-15T20:48:27.721Z] 20:48:27     INFO - Entering test bound test_fullpageScreenshotScrolled
[task 2021-12-15T20:48:27.722Z] 20:48:27     INFO - TEST-PASS | browser/components/screenshots/tests/browser/browser_screenshots_test_full_page.js | The screenshots button was added to the nav bar - {"_inheritedElements":{".toolbarbutton-menu-dropmarker":null,".toolbarbutton-icon":{}},"initializedAttributeInheritance":true} == true -
```