Closed Bug 1642568 Opened 6 years ago Closed 6 years ago

Intermittent accessible/tests/mochitest/role/test_aria.html | Wrong role for [ 'document node', address: [object HTMLDocument] ]! - got 75, expected 8

Categories

(Core :: Disability Access APIs, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox-esr68 --- unaffected
firefox77 --- unaffected
firefox78 --- fixed
firefox79 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=304689292&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cys8XfKkTqa549detjNuIQ/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/cys8XfKkTqa549detjNuIQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2020-06-02T07:40:22.326Z] 07:40:22 INFO - TEST-PASS | accessible/tests/mochitest/role/test_aria.html | Wrong role for ['document node', address: [object HTMLDocument], role: application, name: 'data:text/html,<body role='application'>', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]]!
[task 2020-06-02T07:40:22.327Z] 07:40:22 INFO - TEST-PASS | accessible/tests/mochitest/role/test_aria.html | Wrong role for ['document node', address: [object HTMLDocument], role: dialog, name: 'data:text/html,<body role='dialog'>', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]]!
[task 2020-06-02T07:40:22.327Z] 07:40:22 INFO - must wait for load
[task 2020-06-02T07:40:22.327Z] 07:40:22 INFO - must wait for focus
[task 2020-06-02T07:40:22.327Z] 07:40:22 INFO - Buffered messages finished
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/role/test_aria.html | Wrong role for [ 'document node', address: [object HTMLDocument] ]! - got 75, expected 8
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - SimpleTest.is@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:383:14
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - testRole@chrome://mochitests/content/a11y/accessible/tests/mochitest/role.js:151:5
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - doTest@chrome://mochitests/content/a11y/accessible/tests/mochitest/role/test_aria.html:202:15
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - asyncSimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - waitForDocLoad/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:177:14
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - setTimeout handler
SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - waitForDocLoad@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:167:12
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - waitForDocLoad/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:173:9
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - setTimeout handlerSimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.329Z] 07:40:22 INFO - waitForDocLoad@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:167:12
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:173:9
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - setTimeout handler
SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:167:12
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:173:9
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - setTimeout handlerSimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:167:12
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:173:9
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - setTimeout handler
SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:167:12
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad/<@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:173:9
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - setTimeout handler*SimpleTest_setTimeoutShim@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:788:41
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - waitForDocLoad@chrome://mochitests/content/a11y/accessible/tests/mochitest/common.js:167:12
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-06-02T07:40:22.330Z] 07:40:22 INFO - TEST-PASS | accessible/tests/mochitest/role/test_aria.html | Wrong role for ['document node', address: [object HTMLDocument], role: document, name: 'data:text/html,<body role='document'>', address: [xpconnect wrapped (nsISupports, nsIAccessible, nsIAccessibleDocument)]]!

Summary: Intermittent TV accessible/tests/mochitest/role/test_aria.html | Wrong role for [ 'document node', address: [object HTMLDocument] ]! - got 75, expected 8 → Intermittent accessible/tests/mochitest/role/test_aria.html | Wrong role for [ 'document node', address: [object HTMLDocument] ]! - got 75, expected 8

Jamie, is this some fall-out from bug 1642258?

Flags: needinfo?(jteh)

Yes, definitely sounds like it. 8 is roles::ALERT, 75 is roles::CHROME_WINDOW.

Regressed by: 1642258
Has Regression Range: --- → yes
Keywords: regression

Even though we previously waited for the DOM load event, the a11y tree probably wasn't ready yet.

Assignee: nobody → jteh
Status: NEW → ASSIGNED

I wasn't able to reproduce this, so this is a speculative fix. 🤞

Flags: needinfo?(jteh)
Pushed by mzehe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/abfd63b49d1d accessible/tests/mochitest/role/test_aria.html: Wait for a11y load when opening the chrome window. r=MarcoZ
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79

Set release status flags based on info from the regressing bug 1642258

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: