Bug: Intermittent browser/extensions/screenshots/test/browser/browser_screenshot_button.js | uncaught exception - Error: No DOM node set for aPlacesNode.
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-03-17 01:37:31+00:00
Resolved: 2022-09-07 08:42:29+00:00

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

---
```
[task 2022-03-17T01:06:45.310Z] 01:06:45     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | Screenshots button is enabled - false == false - 
[task 2022-03-17T01:06:45.311Z] 01:06:45     INFO - Global property added while loading chrome://browser/content/places/browserPlacesViews.js: PlacesViewBase
[task 2022-03-17T01:06:45.311Z] 01:06:45     INFO - Buffered messages finished
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | uncaught exception - Error: No DOM node set for aPlacesNode.
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode] at PVB__getDOMNodeForPlacesNode@chrome://browser/content/places/browserPlacesViews.js:137:13
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - PVB_nodeIconChanged@chrome://browser/content/places/browserPlacesViews.js:514:20
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - 
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - Stack trace:
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:1957
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - GECKO(1444) | JavaScript error: chrome://browser/content/places/browserPlacesViews.js, line 137: Error: No DOM node set for aPlacesNode.
[task 2022-03-17T01:06:45.312Z] 01:06:45     INFO - GECKO(1444) | node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]
[task 2022-03-17T01:06:45.313Z] 01:06:45     INFO - Console message: [JavaScript Error: "Error: No DOM node set for aPlacesNode.
[task 2022-03-17T01:06:45.313Z] 01:06:45     INFO - node.type: 0. node.parent: [xpconnect wrapped nsINavHistoryResultNode]" {file: "chrome://browser/content/places/browserPlacesViews.js" line: 137}]
[task 2022-03-17T01:06:45.313Z] 01:06:45     INFO - PVB__getDOMNodeForPlacesNode@chrome://browser/content/places/browserPlacesViews.js:137:13
[task 2022-03-17T01:06:45.313Z] 01:06:45     INFO - PVB_nodeIconChanged@chrome://browser/content/places/browserPlacesViews.js:514:20
[task 2022-03-17T01:06:45.313Z] 01:06:45     INFO - 
[task 2022-03-17T01:06:45.441Z] 01:06:45     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | Screenshots button is now disabled - true == true - 
[task 2022-03-17T01:06:45.450Z] 01:06:45     INFO - Leaving test bound testScreenshotButtonDisabled
[task 2022-03-17T01:06:45.450Z] 01:06:45     INFO - Entering test bound test_disabledMultiWindow
[task 2022-03-17T01:06:45.758Z] 01:06:45     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | The screenshot toolbar button is visible - 
[task 2022-03-17T01:06:45.764Z] 01:06:45     INFO - in waitForUIContent content function, iframeSelector: #firefox-screenshots-preselection-iframe, elemSelector: button.full-page
[task 2022-03-17T01:06:45.855Z] 01:06:45     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/blank.html" line: 0}]
[task 2022-03-17T01:06:45.865Z] 01:06:45     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/blank.html" line: 0}]
[task 2022-03-17T01:06:45.873Z] 01:06:45     INFO - in waitForUIContent, got visible elem: true
[task 2022-03-17T01:06:45.874Z] 01:06:45     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | The screenshots button was added to the nav bar - [object XULElement] == true - 
[task 2022-03-17T01:06:45.875Z] 01:06:45     INFO - Waiting for the preselect UI
[task 2022-03-17T01:06:45.878Z] 01:06:45     INFO - in waitForUIContent content function, iframeSelector: #firefox-screenshots-preselection-iframe, elemSelector: button.full-page
[task 2022-03-17T01:06:45.887Z] 01:06:45     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use �<!DOCTYPE html>�." {file: "moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/blank.html" line: 0}]
[task 2022-03-17T01:06:45.990Z] 01:06:45     INFO - in waitForUIContent, got visible elem: true
[task 2022-03-17T01:06:46.174Z] 01:06:46     INFO - Screenshots is deactivated
[task 2022-03-17T01:06:46.186Z] 01:06:46     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: 1361}]
[task 2022-03-17T01:06:46.192Z] 01:06:46     INFO - TEST-PASS | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | Screenshots button is enabled - false == false - 
[task 2022-03-17T01:06:46.200Z] 01:06:46     INFO - Leaving test bound test_disabledMultiWindow
[task 2022-03-17T01:06:46.210Z] 01:06:46     INFO - Console message: [JavaScript Error: "Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved
[task 2022-03-17T01:06:46.210Z] 01:06:46     INFO - " {file: "moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/selector/callBackground.js" line: 10}]
[task 2022-03-17T01:06:46.211Z] 01:06:46     INFO - callBackground@moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/selector/callBackground.js:10:26
[task 2022-03-17T01:06:46.211Z] 01:06:46     INFO - 
[task 2022-03-17T01:06:46.211Z] 01:06:46     INFO - Console message: [JavaScript Error: "Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved
[task 2022-03-17T01:06:46.211Z] 01:06:46     INFO - " {file: "moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/selector/callBackground.js" line: 10}]
[task 2022-03-17T01:06:46.211Z] 01:06:46     INFO - callBackground@moz-extension://c22992b1-c5d7-4f10-b784-73246167292c/selector/callBackground.js:10:26
[task 2022-03-17T01:06:46.212Z] 01:06:46     INFO - 
[task 2022-03-17T01:06:46.226Z] 01:06:46     INFO - GECKO(1444) | MEMORY STAT | vsize 2112313MB | vsizeMaxContiguous 66876158MB | residentFast 229MB | heapAllocated 97MB
[task 2022-03-17T01:06:46.236Z] 01:06:46     INFO - TEST-OK | browser/extensions/screenshots/test/browser/browser_screenshot_button.js | took 1426ms
[task 2022-03-17T01:06:46.244Z] 01:06:46     INFO - checking window state
[task 2022-03-17T01:06:46.247Z] 01:06:46     INFO - TEST-START | browser/extensions/screenshots/test/browser/browser_screenshots_download.js
```