Split and robustify browser text tests
Categories
(Core :: Disability Access APIs, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: eeejay, Assigned: eeejay)
References
Details
(Whiteboard: [ctw-m3])
Attachments
(3 files)
browser_caching_text.js
is a sprawling mess, there are also a couple of intermittent failures in there when caching is on.
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Layout can trigger several text attribute changed events. We need to
wait until we get the correct one before continuing the test.
Depends on D160299
Assignee | ||
Comment 3•2 years ago
|
||
For some reason the default monospace font in Linux is not actually
monospaced and a linebreak is not guaranteed.
Depends on D160300
Comment 5•2 years ago
|
||
Backed out for causing mochitest failures in accessible/tests/browser/e10s/browser_text_caret.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/b059d0bcdfb0690292ff654acfdaf5233064ae86
INFO - Buffered messages finished
[task 2022-10-28T19:31:14.731Z] 19:31:14 INFO - TEST-UNEXPECTED-FAIL | accessible/tests/browser/e10s/browser_text_caret.js | getTextAtOffset (word start): wrong text (got '', expected: 'cd '), offset: -2, id: [DOM node id: textarea, role: entry, address: [xpconnect wrapped (nsIAccessible, nsIAccessibleText)]]; -
[task 2022-10-28T19:31:14.731Z] 19:31:14 INFO - Stack trace:
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 6•2 years ago
|
||
Adding spellcheck=false to the textarea fixes the caret test. the failures were caused by spelling error range changes and us being mid-reflow. When I added a new font I introduced this issue because the need for a reflow depends on the font and its underline size.. https://searchfox.org/mozilla-central/source/layout/generic/nsTextFrame.cpp#7793
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2f811739c8d0
https://hg.mozilla.org/mozilla-central/rev/ec63c426aaba
https://hg.mozilla.org/mozilla-central/rev/8094a5d40dab
Description
•