Closed Bug 1874500 Opened 9 months ago Closed 7 months ago

Perma [tier 2] toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | uncaught exception - TypeError: can't access property "ok", SpecialPowers.SimpleTest is undefined at a11yFail@chrome://mochikit/content/tests/SimpleTest/Accessi

Categories

(Toolkit :: Add-ons Manager, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Assigned: ayeddi)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

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


[task 2024-01-12T21:46:38.329Z] 21:46:38     INFO - TEST-START | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js
[task 2024-01-12T21:46:38.662Z] 21:46:38     INFO - GECKO(9093) | must wait for focus
[task 2024-01-12T21:46:38.864Z] 21:46:38     INFO - TEST-INFO | started process screentopng
[task 2024-01-12T21:46:39.325Z] 21:46:39     INFO - TEST-INFO | screentopng: exit 0
[task 2024-01-12T21:46:39.326Z] 21:46:39     INFO - Buffered messages logged at 21:46:38
[task 2024-01-12T21:46:39.326Z] 21:46:39     INFO - Entering test bound testPageOptionsMenuButton
[task 2024-01-12T21:46:39.326Z] 21:46:39     INFO - Loading manager window in tab
[task 2024-01-12T21:46:39.326Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | Should have an add-ons manager window - 
[task 2024-01-12T21:46:39.327Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | Should be displaying the correct UI - 
[task 2024-01-12T21:46:39.329Z] 21:46:39     INFO - window has focus, waiting for manager load
[task 2024-01-12T21:46:39.329Z] 21:46:39     INFO - Waiting for initialization
[task 2024-01-12T21:46:39.333Z] 21:46:39     INFO - Manager waiting for view load
[task 2024-01-12T21:46:39.333Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | it has a menu - 
[task 2024-01-12T21:46:39.333Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | not expanded - 
[task 2024-01-12T21:46:39.333Z] 21:46:39     INFO - Test open/close with mouse
[task 2024-01-12T21:46:39.334Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | expanded when open - 
[task 2024-01-12T21:46:39.334Z] 21:46:39     INFO - Buffered messages finished
[task 2024-01-12T21:46:39.339Z] 21:46:39     INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | uncaught exception - TypeError: can't access property "ok", SpecialPowers.SimpleTest is undefined at a11yFail@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:508:5
[task 2024-01-12T21:46:39.339Z] 21:46:39     INFO - assertCanBeClicked@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:846:19
[task 2024-01-12T21:46:39.339Z] 21:46:39     INFO - runIfA11YChecks/this.AccessibilityUtils@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:822:40
[task 2024-01-12T21:46:39.339Z] 21:46:39     INFO - handleEvent@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:939:12
[task 2024-01-12T21:46:39.339Z] 21:46:39     INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:758:13
[task 2024-01-12T21:46:39.339Z] 21:46:39     INFO - synthesizeMouse@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:565:10
[task 2024-01-12T21:46:39.340Z] 21:46:39     INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:846:10
[task 2024-01-12T21:46:39.340Z] 21:46:39     INFO - testButton/<@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:32:16
[task 2024-01-12T21:46:39.340Z] 21:46:39     INFO - testCloseMenu@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:15:9
[task 2024-01-12T21:46:39.340Z] 21:46:39     INFO - testButton@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:30:9
[task 2024-01-12T21:46:39.340Z] 21:46:39     INFO - async*testPageOptionsMenuButton@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:48:9
[task 2024-01-12T21:46:39.341Z] 21:46:39     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-12T21:46:39.341Z] 21:46:39     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-12T21:46:39.341Z] 21:46:39     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-12T21:46:39.341Z] 21:46:39     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-12T21:46:39.341Z] 21:46:39     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-12T21:46:39.342Z] 21:46:39     INFO - 
[task 2024-01-12T21:46:39.342Z] 21:46:39     INFO - Stack trace:
[task 2024-01-12T21:46:39.342Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:simpletestOnerror:2044
[task 2024-01-12T21:46:39.342Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtPoint:758
[task 2024-01-12T21:46:39.342Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouse:565
[task 2024-01-12T21:46:39.343Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtCenter:846
[task 2024-01-12T21:46:39.343Z] 21:46:39     INFO - chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:testButton/<:32
[task 2024-01-12T21:46:39.343Z] 21:46:39     INFO - chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:testCloseMenu:15
[task 2024-01-12T21:46:39.343Z] 21:46:39     INFO - chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:testButton:30
[task 2024-01-12T21:46:39.343Z] 21:46:39     INFO - chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:testPageOptionsMenuButton:48
[task 2024-01-12T21:46:39.344Z] 21:46:39     INFO - chrome://mochikit/content/browser-test.js:handleTask:1138
[task 2024-01-12T21:46:39.344Z] 21:46:39     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1210
[task 2024-01-12T21:46:39.344Z] 21:46:39     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1352
[task 2024-01-12T21:46:39.344Z] 21:46:39     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1127
[task 2024-01-12T21:46:39.344Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-01-12T21:46:39.345Z] 21:46:39     INFO - GECKO(9093) | JavaScript error: chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js, line 508: TypeError: can't access property "ok", SpecialPowers.SimpleTest is undefined
[task 2024-01-12T21:46:39.346Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | not expanded when closed - 
[task 2024-01-12T21:46:39.346Z] 21:46:39     INFO - Test open/close with keyboard
[task 2024-01-12T21:46:39.347Z] 21:46:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-01-12T21:46:39.349Z] 21:46:39     INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once.  Make sure you use SimpleTest.waitForExplicitFinish() if you need it.) - 
[task 2024-01-12T21:46:39.349Z] 21:46:39     INFO - Stack trace:
[task 2024-01-12T21:46:39.350Z] 21:46:39     INFO - chrome://mochikit/content/browser-test.js:test_ok:1591
[task 2024-01-12T21:46:39.350Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:afterCleanup:1477
[task 2024-01-12T21:46:39.350Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:executeCleanupFunction:1562
[task 2024-01-12T21:46:39.350Z] 21:46:39     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.finish:1582
[task 2024-01-12T21:46:39.355Z] 21:46:39     INFO - Console message: [JavaScript Error: "TypeError: can't access property "ok", SpecialPowers.SimpleTest is undefined" {file: "chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js" line: 508}]
[task 2024-01-12T21:46:39.356Z] 21:46:39     INFO - a11yFail@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:508:5
[task 2024-01-12T21:46:39.356Z] 21:46:39     INFO - assertCanBeClicked@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:846:19
[task 2024-01-12T21:46:39.356Z] 21:46:39     INFO - runIfA11YChecks/this.AccessibilityUtils@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:822:40
[task 2024-01-12T21:46:39.356Z] 21:46:39     INFO - handleEvent@chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:939:12
[task 2024-01-12T21:46:39.357Z] 21:46:39     INFO - synthesizeMouseAtPoint@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:758:13
[task 2024-01-12T21:46:39.357Z] 21:46:39     INFO - synthesizeMouse@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:565:10
[task 2024-01-12T21:46:39.357Z] 21:46:39     INFO - synthesizeMouseAtCenter@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:846:10
[task 2024-01-12T21:46:39.357Z] 21:46:39     INFO - testButton/<@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:32:16
[task 2024-01-12T21:46:39.358Z] 21:46:39     INFO - testCloseMenu@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:15:9
[task 2024-01-12T21:46:39.358Z] 21:46:39     INFO - testButton@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:30:9
[task 2024-01-12T21:46:39.358Z] 21:46:39     INFO - async*testPageOptionsMenuButton@chrome://mochitests/content/browser/toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js:48:9
[task 2024-01-12T21:46:39.358Z] 21:46:39     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1138:26
[task 2024-01-12T21:46:39.358Z] 21:46:39     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1210:18
[task 2024-01-12T21:46:39.358Z] 21:46:39     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1352:14
[task 2024-01-12T21:46:39.359Z] 21:46:39     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1127:14
[task 2024-01-12T21:46:39.359Z] 21:46:39     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-01-12T21:46:39.359Z] 21:46:39     INFO - 
[task 2024-01-12T21:46:39.360Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | expanded when open - 
[task 2024-01-12T21:46:39.360Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | not expanded when closed - 
[task 2024-01-12T21:46:39.361Z] 21:46:39     INFO - TEST-PASS | toolkit/mozapps/extensions/test/browser/browser_menu_button_accessibility.js | Should have an add-ons manager window to close - 

Hey Anna, could you take a look at this? It started with this push. Failure log here. There's also this log that contains an extra failure line that I'm not sure if it's related or not. Thank you!

Flags: needinfo?(ayeddi)

(In reply to Norisz Fay [:noriszfay] from comment #1)

Hey Anna, could you take a look at this? It started with this push. Failure log here. There's also this log that contains an extra failure line that I'm not sure if it's related or not. Thank you!

Oh, interesting! Thank you for messaging - I'm checking why the AccessibilityUtils failed to run the ok().

Assignee: nobody → ayeddi
Flags: needinfo?(ayeddi)
Depends on: 1876618

Neither me, nor Jamie have been able to reproduce this exception locally - the test just fails. So for now, I'm adding an exception from the a11y_checks for the click that has triggered this error instead of failing (the spacer, an inaccessible, non-interactive element is clicked to dismiss the dialog, this does not have to be accessible since alternative accessible ways of dialog dismissal exist)

No longer orange on trees after Bug 1876618.

Whiteboard: [stockwell disable-recommended]
Whiteboard: [stockwell disable-recommended]

Seems fixed since the blocking bug was resolved - no new instances have been reported.

Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.