Perma OS X opt + shippable accessible/tests/browser/tree/browser_css_alt.js | Wrong value of property 'name' for [role: statictext, name: 'before', address: [xpconnect wrapped nsIAccessible]]. - Got "before", expected "alt"
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | unaffected |
firefox128 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: Jamie)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, test-verify-fail)
Attachments
(1 file)
Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=458543265&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/QindZIHfThKYrg6jvoq_Jg/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/QindZIHfThKYrg6jvoq_Jg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1
[task 2024-05-17T01:18:27.158Z] 01:18:27 INFO - TEST-PASS | accessible/tests/browser/tree/browser_css_alt.js | Wrong value of property 'role' for [role: statictext, name: 'before', address: [xpconnect wrapped nsIAccessible]]. -
[task 2024-05-17T01:18:27.158Z] 01:18:27 INFO - Buffered messages finished
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/tree/browser_css_alt.js | Wrong value of property 'name' for [role: statictext, name: 'before', address: [xpconnect wrapped nsIAccessible]]. - Got "before", expected "alt"
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - Stack trace:
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:testAccessibleTree:547
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:testAccessibleTree:700
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - chrome://mochitests/content/browser/accessible/tests/browser/tree/browser_css_alt.js:testTextPseudo:230
[task 2024-05-17T01:18:27.161Z] 01:18:27 INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:accessibleTask/</<:554
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - resource://testing-common/BrowserTestUtils.sys.mjs:withNewTab:146
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - chrome://mochitests/content/browser/accessible/tests/browser/shared-head.js:accessibleTask/<:473
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1122
[task 2024-05-17T01:18:27.162Z] 01:18:27 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-17T01:18:27.163Z] 01:18:27 INFO - TEST-PASS | accessible/tests/browser/tree/browser_css_alt.js | Wrong parent of [role: text leaf, name: 'inside', address: [xpconnect wrapped nsIAccessible]] -
Comment 1•6 months ago
|
||
:Jamie, since you are the author of the regressor, bug 1896047, could you take a look?
For more information, please visit BugBot documentation.
Comment 2•6 months ago
|
||
Set release status flags based on info from the regressing bug 1896047
Comment 3•6 months ago
|
||
This is permafailing on OS X 11 WebRender Shippable
as it can be seen here.
Jamie, could you please take a look at this?
Thank you!
Setting the severity as S3, in case it’s also related to the pref differences.
Comment hidden (Intermittent Failures Robot) |
Comment 6•6 months ago
•
|
||
This is permafailing on tier 1 jobs so a fix here soon would be appreciated to avoid backing out the regressor.
Assignee | ||
Comment 7•6 months ago
|
||
I was waiting for bug 1897430 to land to see if it fixed this. I'll push a try build shortly to check. I don't really understand why this would be failing; I don't know the difference between "shippable" builds vs normal Mac builds or why it would impact this, so that will need investigation.
Assignee | ||
Comment 8•6 months ago
|
||
I'm looking into this. This doesn't seem to be related to the pref, since earlier tests in this file are passing that I would otherwise expect to fail. I don't quite know what the fix is yet, but I have some early thoughts.
Note to self: What happens if layout updates the text in the pseudo-element for some reason after a11y has already created an Accessible for it? Do we need code in WillRefresh to skip TextUpdater where CSS alt text is present?
Updated•6 months ago
|
Assignee | ||
Comment 9•6 months ago
|
||
Assignee | ||
Comment 10•6 months ago
|
||
When we create a TextLeafAccessible for a CSS pseudo-element, we already use the alt text if present.
However, it seems layout sometimes re-renders the text of pseudo-elements.
Previously, a11y would update the text in this case like it would for any other TextLeafAccessible, thus overwriting the alt text with the text rendered by layout.
To fix this, we now skip updating text if CSS alt text is present.
Assignee | ||
Comment 11•6 months ago
|
||
Patch seems to fix this.
Comment 12•6 months ago
|
||
Comment 13•6 months ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Description
•