Bug: Intermittent browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2024-02-07 13:05:28+00:00
Resolved: 2024-05-17 12:01:56+00:00

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

---
```
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Read expected amount of data - 
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - Waiting for the clipboard image to load in the content page
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - Buffered messages finished
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Got expected screenshot width - Got 2530, expected 1265
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - Stack trace:
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - chrome://mochitests/content/browser/browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js:test_fullPageScreenshot/<:40
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - chrome://mochitests/content/browser/browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js:test_fullPageScreenshot:2
[task 2024-02-07T12:36:29.049Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Got expected screenshot height - Got 3456, expected 1728
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - Stack trace:
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochitests/content/browser/browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js:test_fullPageScreenshot/<:45
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochitests/content/browser/browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js:test_fullPageScreenshot:2
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - Leaving test bound test_fullPageScreenshot
[task 2024-02-07T12:36:29.050Z] 12:36:29     INFO - Entering test bound test_visiblePageScreenshot
[task 2024-02-07T12:36:29.273Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Got dimensions back from the content - 
[task 2024-02-07T12:36:29.273Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | The screenshot toolbar button is visible - 
[task 2024-02-07T12:36:29.274Z] 12:36:29     INFO - in waitForUIContent content function, iframeSelector: #firefox-screenshots-preselection-iframe, elemSelector: button.full-page
[task 2024-02-07T12:36:29.381Z] 12:36:29     INFO - in waitForUIContent, got visible elem: true
[task 2024-02-07T12:36:29.384Z] 12:36:29     INFO - in clickScreenshotsUIElement content function, iframeSelector: #firefox-screenshots-preselection-iframe, elemSelector: button.visible
[task 2024-02-07T12:36:29.385Z] 12:36:29     INFO - Found the thing to click: button.visible: true
[task 2024-02-07T12:36:29.391Z] 12:36:29     INFO - Waiting for the preview UI and the copy button
[task 2024-02-07T12:36:29.427Z] 12:36:29     INFO - in waitForUIContent content function, iframeSelector: #firefox-screenshots-preview-iframe, elemSelector: button.highlight-button-copy
[task 2024-02-07T12:36:29.564Z] 12:36:29     INFO - in waitForUIContent, got visible elem: true
[task 2024-02-07T12:36:29.568Z] 12:36:29     INFO - in clickScreenshotsUIElement content function, iframeSelector: #firefox-screenshots-preview-iframe, elemSelector: button.highlight-button-copy
[task 2024-02-07T12:36:29.568Z] 12:36:29     INFO - Found the thing to click: button.highlight-button-copy: true
[task 2024-02-07T12:36:29.569Z] 12:36:29     INFO - Waiting for clipboard change
[task 2024-02-07T12:36:29.760Z] 12:36:29     INFO - Screenshots is deactivated
[task 2024-02-07T12:36:29.795Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | screenshot data exists on the clipboard - 
[task 2024-02-07T12:36:29.795Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Read expected amount of data - 
[task 2024-02-07T12:36:29.796Z] 12:36:29     INFO - Waiting for the clipboard image to load in the content page
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO - result: {
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "width": 2530,
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "height": 1728
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO - }
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO - contentInfo: {
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "clientHeight": 864,
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "clientWidth": 1265,
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "currentURI": "http://example.com/browser/browser/extensions/screenshots/test/browser/green2vh.html",
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "documentHeight": 1728,
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO -   "documentWidth": 1265
[task 2024-02-07T12:36:29.797Z] 12:36:29     INFO - }
[task 2024-02-07T12:36:29.798Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Got expected screenshot width - 
[task 2024-02-07T12:36:29.798Z] 12:36:29     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | Got expected screenshot height - 
[task 2024-02-07T12:36:29.802Z] 12:36:29     INFO - Leaving test bound test_visiblePageScreenshot
[task 2024-02-07T12:36:32.642Z] 12:36:32     INFO - GECKO(3520) | MEMORY STAT | vsize 410746MB | residentFast 472MB | heapAllocated 187MB
[task 2024-02-07T12:36:32.643Z] 12:36:32     INFO - TEST-OK | browser/extensions/screenshots/test/browser/browser_screenshots_dimensions.js | took 5068ms
[task 2024-02-07T12:36:32.648Z] 12:36:32     INFO - checking window state
[task 2024-02-07T12:36:32.650Z] 12:36:32     INFO - TEST-START | browser/extensions/screenshots/test/browser/browser_screenshots_download.js
```