Bug: Perma [tier 2] browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js | Node is not accessible via accessibility API: id: fxa-toolbar-menu-button, tagName: toolbarbutton, className: toolbarbutton-1 chromeclass-toolbar-additional subviewbu
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2023-10-07 06:48:46+00:00
Resolved: 2023-10-09 19:50:37+00:00

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

---
```
[task 2023-10-07T04:41:13.446Z] 04:41:13     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js
[task 2023-10-07T04:41:13.519Z] 04:41:13     INFO - TEST-INFO | started process screentopng
[task 2023-10-07T04:41:13.782Z] 04:41:13     INFO - TEST-INFO | screentopng: exit 0
[task 2023-10-07T04:41:13.783Z] 04:41:13     INFO - Buffered messages logged at 04:41:13
[task 2023-10-07T04:41:13.783Z] 04:41:13     INFO - Entering test bound test_setup
[task 2023-10-07T04:41:13.783Z] 04:41:13     INFO - Leaving test bound test_setup
[task 2023-10-07T04:41:13.783Z] 04:41:13     INFO - Entering test bound test_fxa_badge_shown_nodelay
[task 2023-10-07T04:41:13.784Z] 04:41:13     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js | FxA test message exists - {"id":"FXA_ACCOUNTS_BADGE","template":"toolbar_badge","content":{"delay":10000,"target":"fxa-toolbar-menu-button"},"targeting":"false","trigger":{"id":"toolbarBadgeUpdate"}} == true - 
[task 2023-10-07T04:41:13.784Z] 04:41:13     INFO - Buffered messages finished
[task 2023-10-07T04:41:13.786Z] 04:41:13     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js | Node is not accessible via accessibility API: id: fxa-toolbar-menu-button, tagName: toolbarbutton, className: toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav - 
[task 2023-10-07T04:41:13.786Z] 04:41:13     INFO - Stack trace:
[task 2023-10-07T04:41:13.786Z] 04:41:13     INFO - chrome://mochikit/content/browser-test.js:test_ok:1583
[task 2023-10-07T04:41:13.787Z] 04:41:13     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:342
[task 2023-10-07T04:41:13.787Z] 04:41:13     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:659
[task 2023-10-07T04:41:13.788Z] 04:41:13     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:638
[task 2023-10-07T04:41:13.788Z] 04:41:13     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:741
[task 2023-10-07T04:41:13.788Z] 04:41:13     INFO - chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js:test_fxa_badge_shown_nodelay:36
[task 2023-10-07T04:41:13.789Z] 04:41:13     INFO - chrome://mochikit/content/browser-test.js:handleTask:1134
[task 2023-10-07T04:41:13.789Z] 04:41:13     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1206
[task 2023-10-07T04:41:13.789Z] 04:41:13     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1348
[task 2023-10-07T04:41:13.790Z] 04:41:13     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1123
[task 2023-10-07T04:41:13.790Z] 04:41:13     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2023-10-07T04:41:13.791Z] 04:41:13     INFO - GECKO(24175) | JavaScript error: resource:///modules/PanelMultiView.sys.mjs, line 1200: TypeError: can't access property "GetAvailRect", screen is null
[task 2023-10-07T04:41:13.791Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.792Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-WARNING **: 04:41:13.569: invalid (NULL) pointer instance
[task 2023-10-07T04:41:13.793Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.793Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-CRITICAL **: 04:41:13.569: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2023-10-07T04:41:13.795Z] 04:41:13     INFO - Console message: [JavaScript Error: "TypeError: can't access property "GetAvailRect", screen is null" {file: "resource:///modules/PanelMultiView.sys.mjs" line: 1200}]
[task 2023-10-07T04:41:13.795Z] 04:41:13     INFO - _calculateMaxHeight@resource:///modules/PanelMultiView.sys.mjs:1200:5
[task 2023-10-07T04:41:13.796Z] 04:41:13     INFO - handleEvent@resource:///modules/PanelMultiView.sys.mjs:1270:32
[task 2023-10-07T04:41:13.796Z] 04:41:13     INFO - EventListener.handleEvent*connect@resource:///modules/PanelMultiView.sys.mjs:415:17
[task 2023-10-07T04:41:13.797Z] 04:41:13     INFO - openPopup/this._openPopupPromise<@resource:///modules/PanelMultiView.sys.mjs:540:16
[task 2023-10-07T04:41:13.797Z] 04:41:13     INFO - promise callback*openPopup@resource:///modules/PanelMultiView.sys.mjs:521:55
[task 2023-10-07T04:41:13.797Z] 04:41:13     INFO - openPopup@resource:///modules/PanelMultiView.sys.mjs:274:47
[task 2023-10-07T04:41:13.798Z] 04:41:13     INFO - showSubView@chrome://browser/content/customizableui/panelUI.js:482:42
[task 2023-10-07T04:41:13.798Z] 04:41:13     INFO - toggleAccountPanel@chrome://browser/content/browser-sync.js:816:15
[task 2023-10-07T04:41:13.799Z] 04:41:13     INFO - onmousedown@chrome://browser/content/browser.xhtml:1:7
[task 2023-10-07T04:41:13.799Z] 04:41:13     INFO - test_fxa_badge_shown_nodelay@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js:36:13
[task 2023-10-07T04:41:13.799Z] 04:41:13     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1134:26
[task 2023-10-07T04:41:13.800Z] 04:41:13     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1206:18
[task 2023-10-07T04:41:13.800Z] 04:41:13     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1348:14
[task 2023-10-07T04:41:13.800Z] 04:41:13     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1123:14
[task 2023-10-07T04:41:13.801Z] 04:41:13     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2023-10-07T04:41:13.801Z] 04:41:13     INFO - 
[task 2023-10-07T04:41:13.802Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.802Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-WARNING **: 04:41:13.685: invalid (NULL) pointer instance
[task 2023-10-07T04:41:13.803Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.804Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-CRITICAL **: 04:41:13.685: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2023-10-07T04:41:13.804Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.805Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-WARNING **: 04:41:13.685: invalid (NULL) pointer instance
[task 2023-10-07T04:41:13.806Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.806Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-CRITICAL **: 04:41:13.685: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2023-10-07T04:41:13.807Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.808Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-WARNING **: 04:41:13.701: invalid (NULL) pointer instance
[task 2023-10-07T04:41:13.811Z] 04:41:13     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:13.812Z] 04:41:13     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-CRITICAL **: 04:41:13.701: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2023-10-07T04:41:14.021Z] 04:41:14     INFO - GECKO(24175) | 1696653674020	Marionette	TRACE	Received observer notification browser-delayed-startup-finished
[task 2023-10-07T04:41:14.026Z] 04:41:14     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:14.027Z] 04:41:14     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-WARNING **: 04:41:14.025: invalid (NULL) pointer instance
[task 2023-10-07T04:41:14.029Z] 04:41:14     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:14.029Z] 04:41:14     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-CRITICAL **: 04:41:14.025: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2023-10-07T04:41:14.030Z] 04:41:14     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: invalid (NULL) pointer instance: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:14.031Z] 04:41:14     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-WARNING **: 04:41:14.025: invalid (NULL) pointer instance
[task 2023-10-07T04:41:14.031Z] 04:41:14     INFO - GECKO(24175) | [Parent 24175, Main Thread] WARNING: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:167
[task 2023-10-07T04:41:14.032Z] 04:41:14     INFO - GECKO(24175) | (firefox-default:24175): GLib-GObject-CRITICAL **: 04:41:14.025: g_signal_emit_by_name: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[task 2023-10-07T04:41:14.150Z] 04:41:14     INFO - Leaving test bound test_fxa_badge_shown_nodelay
[task 2023-10-07T04:41:14.151Z] 04:41:14     INFO - Entering test bound test_fxa_badge_shown_withdelay
[task 2023-10-07T04:41:14.154Z] 04:41:14     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_toolbarbadge.js | FxA test message exists - {"id":"FXA_ACCOUNTS_BADGE","template":"toolbar_badge","content":{"delay":10000,"target":"fxa-toolbar-menu-button"},"targeting":"false","trigger":{"id":"toolbarBadgeUpdate"}} == true - 
```