Closed Bug 1928003 Opened 1 year ago Closed 1 year ago

Perma [tier 2] devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js | Node is not accessible via accessibility API: id: ruleview-container-focusable, tagName: div, className: -

Categories

(DevTools :: Inspector, defect, P5)

defect

Tracking

(firefox-esr128 unaffected, firefox132 unaffected, firefox133 unaffected, firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox132 --- unaffected
firefox133 --- unaffected
firefox134 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell disable-recommended])

Attachments

(2 files)

Flags: needinfo?(nchevobbe)

Failure snippet:

[task 2024-10-30T07:32:46.543Z] 07:32:46     INFO - TEST-START | devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js
[task 2024-10-30T07:32:46.551Z] 07:32:46     INFO - Entering test bound 
[task 2024-10-30T07:32:46.551Z] 07:32:46     INFO - Adding a new tab with URL: data:text/html;charset=utf8, <div class="this-long-class-attribute-should-be-displayed without-overflow-when-switching-to-edit-mode AAAAAAAAAAAA-BBBBBBBBBBBBB-CCCCCCCCCCCCC-DDDDDDDDDDDDDD-EEEEEEEEEEEEE" thislongattributenameshouldmakethemarkupviewoverflowthislongattributenameshouldmakethemarkupviewoverflowthislongattributenameshouldmakethemarkupviewoverflow></div>
[task 2024-10-30T07:32:46.585Z] 07:32:46     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html;charset=utf8, <div class="this-long-class-attribute-should-be-displayed without-overflow-when-switching-to-edit-mode AAAAAAAAAAAA-BBBBBBBBBBBBB-CCCCCCCCCCCCC-DDDDDDDDDDDDDD-EEEEEEEEEEEEE" thislongattributenameshouldmakethemarkupviewoverflowthislongattributenameshouldmakethemarkupviewoverflowthislongattributenameshouldmakethemarkupviewoverflow></div>" line: 0}]
[task 2024-10-30T07:32:46.711Z] 07:32:46     INFO - Tab added and finished loading
[task 2024-10-30T07:32:46.711Z] 07:32:46     INFO - Opening the inspector
[task 2024-10-30T07:32:46.712Z] 07:32:46     INFO - Opening the toolbox
[task 2024-10-30T07:32:46.910Z] 07:32:46     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:46.910Z] 07:32:46     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:46.910Z] 07:32:46     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-10-30T07:32:47.087Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:47.087Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:47.087Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-10-30T07:32:47.176Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:47.177Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:47.178Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-10-30T07:32:47.178Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:47.179Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-10-30T07:32:47.180Z] 07:32:47     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-10-30T07:32:47.183Z] 07:32:47     INFO - Toolbox opened and focused
[task 2024-10-30T07:32:47.183Z] 07:32:47     INFO - Selecting the node for 'div'
[task 2024-10-30T07:32:47.185Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2024-10-30T07:32:47.185Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2024-10-30T07:32:47.204Z] 07:32:47     INFO - Clicking on the markup-container for node div
[task 2024-10-30T07:32:47.204Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2024-10-30T07:32:47.205Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2024-10-30T07:32:47.210Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2024-10-30T07:32:47.271Z] 07:32:47     INFO - TEST-INFO | started process screentopng
[task 2024-10-30T07:32:47.501Z] 07:32:47     INFO - TEST-INFO | screentopng: exit 0
[task 2024-10-30T07:32:47.501Z] 07:32:47     INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js | Node is not accessible via accessibility API: id: ruleview-container-focusable, tagName: div, className:  - 
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - Stack trace:
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/browser-test.js:test_ok:1597
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:a11yFail:755
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:assertCanBeClicked:1164
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:runIfA11YChecks/this.AccessibilityUtils:1140
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/AccessibilityUtils.js:handleEvent:1257
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtPoint:788
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouse:553
[task 2024-10-30T07:32:47.502Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/EventUtils.js:synthesizeMouseAtCenter:977
[task 2024-10-30T07:32:47.503Z] 07:32:47     INFO - chrome://mochitests/content/browser/devtools/client/inspector/markup/test/head.js:clickContainer:145
[task 2024-10-30T07:32:47.503Z] 07:32:47     INFO - chrome://mochitests/content/browser/devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js:null:22
[task 2024-10-30T07:32:47.504Z] 07:32:47     INFO - chrome://mochikit/content/browser-test.js:handleTask:1145
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1217
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1358
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1134
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - Selecting the node for '[Front for domnode/server0.conn0.process6//domnode29]'
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - GECKO(5644) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2024-10-30T07:32:47.505Z] 07:32:47     INFO - TEST-PASS | devtools/client/inspector/markup/test/browser_markup_tag_edit_long-classname.js | The markup-container was found - 

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

I can't get it to fail locally, but this doesn't introduce any new UI, and it's using an existing test helper.
The test only checks that the mousedown event does not trigger a scroll, the element doesn't need to be keyboard accessible, as the keyboard navigation is handle via a different path.
I'll disable the accessible check

Flags: needinfo?(nchevobbe)

The test was failing accessibility check because we're clicking
on the tag line. Since we're handling element selection just fine
with the keyboard, we don't need to have the line being a proper
target, so we can disable the check.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/039f3b629574 [devtools] Avoid triggering a11y failure in browser_markup_tag_edit_long-classname.js. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch

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

The test was failing accessibility check because we're clicking
on the tag line. Since we're handling element selection just fine
with the keyboard, we don't need to have the line being a proper
target, so we can disable the check.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4d317905f8e [devtools] Avoid triggering a11y failure in browser_markup_tag_edit_long-classname.js. r=devtools-reviewers,ochameau.
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: