Title: [280649] trunk/LayoutTests
- Revision
- 280649
- Author
- [email protected]
- Date
- 2021-08-04 11:59:03 -0700 (Wed, 04 Aug 2021)
Log Message
REGRESSION (r280541): [ BigSur Debug ] accessibility/roles-computedRoleString.html is timing out
https://bugs.webkit.org/show_bug.cgi?id=228744
<rdar://problem/81472432>
Unreviewed, the test's JS was getting in some sort of infinite loop. Tweak the code a bit
so that it keeps running without infinite looping.
* accessibility/roles-computedRoleString.html:
* platform/mac/TestExpectations:
* platform/mac/accessibility/roles-computedRoleString-expected.txt:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (280648 => 280649)
--- trunk/LayoutTests/ChangeLog 2021-08-04 18:55:25 UTC (rev 280648)
+++ trunk/LayoutTests/ChangeLog 2021-08-04 18:59:03 UTC (rev 280649)
@@ -1,3 +1,16 @@
+2021-08-04 Chris Dumez <[email protected]>
+
+ REGRESSION (r280541): [ BigSur Debug ] accessibility/roles-computedRoleString.html is timing out
+ https://bugs.webkit.org/show_bug.cgi?id=228744
+ <rdar://problem/81472432>
+
+ Unreviewed, the test's JS was getting in some sort of infinite loop. Tweak the code a bit
+ so that it keeps running without infinite looping.
+
+ * accessibility/roles-computedRoleString.html:
+ * platform/mac/TestExpectations:
+ * platform/mac/accessibility/roles-computedRoleString-expected.txt:
+
2021-08-04 Commit Queue <[email protected]>
Unreviewed, reverting r280630.
Modified: trunk/LayoutTests/accessibility/roles-computedRoleString.html (280648 => 280649)
--- trunk/LayoutTests/accessibility/roles-computedRoleString.html 2021-08-04 18:55:25 UTC (rev 280648)
+++ trunk/LayoutTests/accessibility/roles-computedRoleString.html 2021-08-04 18:59:03 UTC (rev 280649)
@@ -342,12 +342,10 @@
expectation = expectedRole;
matchedResults = (computedAriaRole == expectedRole)
- result = document.getElementById('console');
- if (matchedResults) {
- result.innerText += "PASS: " + output + "\n";
- } else {
- result.innerText += "FAIL: " + output + "Expected: " + expectation + ".\n";
- }
+ if (matchedResults)
+ testPassed(output);
+ else
+ testFailed(output + "Expected: " + expectation);
}
// Once tests are complete, hide all the example markup.
Modified: trunk/LayoutTests/platform/mac/TestExpectations (280648 => 280649)
--- trunk/LayoutTests/platform/mac/TestExpectations 2021-08-04 18:55:25 UTC (rev 280648)
+++ trunk/LayoutTests/platform/mac/TestExpectations 2021-08-04 18:59:03 UTC (rev 280649)
@@ -1573,8 +1573,6 @@
webkit.org/b/205403 accessibility/presentation-role-iframe.html [ Pass Failure ]
-webkit.org/b/228744 [ BigSur+ Debug ] accessibility/roles-computedRoleString.html [ Timeout ]
-
# Disabled temporarily since it is causing other tests to fail.
accessibility/mac/isolated-tree-mode-on-off.html [ Skip ]
Modified: trunk/LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt (280648 => 280649)
--- trunk/LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt 2021-08-04 18:55:25 UTC (rev 280648)
+++ trunk/LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt 2021-08-04 18:59:03 UTC (rev 280649)
@@ -3,200 +3,200 @@
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS: a[href] -> link.
-PASS: article -> article.
-PASS: aside -> complementary.
-PASS: button -> button.
-PASS: del -> deletion.
-PASS: dfn -> definition.
-PASS: dl -> .
-PASS: footer -> contentinfo.
-PASS: form -> form.
-PASS: header -> banner.
-PASS: h1 -> heading.
-PASS: h2 -> heading.
-PASS: h3 -> heading.
-PASS: h4 -> heading.
-PASS: h5 -> heading.
-PASS: h5 -> heading.
-PASS: hr -> separator.
-PASS: img[alt='X'] -> image.
-PASS: input[type='button'] -> button.
-PASS: input[type='checkbox'] -> checkbox.
-PASS: input[type='date'] -> .
-PASS: input[type='datetime'] -> .
-PASS: input[type='datetime-local'] -> .
-PASS: input[type='email'] -> .
-PASS: input[type='file'] -> button.
-PASS: input[type='image'] -> button.
-PASS: input[type='month'] -> .
-PASS: input[type='number'] -> .
-PASS: input[type='password'] -> .
-PASS: input[type='radio'] -> radio.
-PASS: input[type='range'] -> slider.
-PASS: input[type='reset'] -> button.
-PASS: input[type='search'] -> searchbox.
-PASS: input[type='submit'] -> button.
-PASS: input[type='tel'] -> .
-PASS: input[type='text'] -> .
-PASS: input[type='time'] -> .
-PASS: input[type='url'] -> .
-PASS: input[type='week'] -> .
-PASS: ins -> insertion.
-PASS: mark -> .
-PASS: math -> math.
-PASS: meter -> meter.
-PASS: nav -> navigation.
-PASS: ol -> list.
-PASS: li -> listitem.
-PASS: p -> paragraph.
-PASS: pre -> .
-PASS: progress -> progressbar.
-PASS: samp -> .
-PASS: section:not([aria-label]:not([aria-labelledby]) -> .
-PASS: section[aria-label] -> region.
-PASS: section[aria-labelledby] -> region.
-PASS: select:not([multiple]) -> button.
-PASS: select[multiple] -> listbox.
-PASS: option -> option.
-PASS: optgroup -> option.
-PASS: option -> option.
-PASS: option -> option.
-PASS: sub -> subscript.
-PASS: sup -> superscript.
-PASS: table -> table.
-PASS: tr -> row.
-PASS: th -> columnheader.
-PASS: tr -> row.
-PASS: td -> cell.
-PASS: tr -> row.
-PASS: td -> cell.
-PASS: table[role="grid"] -> grid.
-PASS: tr -> row.
-PASS: th -> columnheader.
-PASS: tr -> row.
-PASS: td[role="gridcell"] -> gridcell.
-PASS: tr -> row.
-PASS: td[role="gridcell"] -> gridcell.
-PASS: textarea -> textbox.
-PASS: time -> time.
-PASS: ul -> list.
-PASS: li -> listitem.
-PASS: var -> .
-PASS: div[role="command"] -> .
-PASS: div[role="composite"] -> .
-PASS: div[role="input"] -> .
-PASS: div[role="landmark"] -> .
-PASS: div[role="range"] -> .
-PASS: div[role="roletype"] -> .
-PASS: div[role="section"] -> .
-PASS: div[role="sectionhead"] -> .
-PASS: div[role="select"] -> .
-PASS: div[role="structure"] -> .
-PASS: div[role="widget"] -> .
-PASS: div[role="window"] -> .
-PASS: div[role="alert"] -> alert.
-PASS: div[role="alertdialog"] -> alertdialog.
-PASS: div[role="application"] -> application.
-PASS: div[role="article"] -> article.
-PASS: div[role="banner"] -> banner.
-PASS: div[role="blockquote"] -> blockquote.
-PASS: div[role="button"] -> button.
-PASS: div[role="caption"] -> caption.
-PASS: div[role="checkbox"] -> checkbox.
-PASS: div[role="combobox"] -> combobox.
-PASS: div[role="complementary"] -> complementary.
-PASS: div[role="contentinfo"] -> contentinfo.
-PASS: div[role="definition"] -> definition.
-PASS: div[role="deletion"] -> deletion.
-PASS: div[role="dialog"] -> dialog.
-PASS: div[role="directory"] -> list.
-PASS: div[role="document"] -> document.
-PASS: div[role="figure"] -> figure.
-PASS: div[role="form"] -> form.
-PASS: div[role="graphics-document"] -> document.
-PASS: div[role="graphics-object"] -> group.
-PASS: div[role="graphics-symbol"] -> image.
-PASS: div[role="grid"] -> grid.
-PASS: div[role="row"] -> row.
-PASS: div[role="rowheader"] -> rowheader.
-PASS: div[role="columnheader"] -> columnheader.
-PASS: div[role="gridcell"] -> gridcell.
-PASS: div[role="feed"] -> feed.
-PASS: div[role="group"] -> group.
-PASS: div[role="heading"] -> heading.
-PASS: div[role="img"] -> image.
-PASS: div[role="insertion"] -> insertion.
-PASS: div[role="link"] -> link.
-PASS: div[role="list"] -> list.
-PASS: div[role="listitem"] -> listitem.
-PASS: div[role="listbox"] -> listbox.
-PASS: div[role="option"] -> option.
-PASS: div[role="log"] -> log.
-PASS: div[role="main"] -> main.
-PASS: div[role="marquee"] -> marquee.
-PASS: div[role="math"] -> math.
-PASS: div[role="menu"] -> menu.
-PASS: div[role="menuitem"] -> menuitem.
-PASS: div[role="menuitemcheckbox"] -> menuitemcheckbox.
-PASS: div[role="menuitemradio"] -> menuitemradio.
-PASS: div[role="menubar"] -> menubar.
-PASS: div[role="menuitem"] -> menuitem.
-PASS: div[role="menuitemcheckbox"] -> menuitemcheckbox.
-PASS: div[role="menuitemradio"] -> menuitemradio.
-PASS: div[role="meter"] -> meter.
-PASS: div[role="navigation"] -> navigation.
-PASS: div[role="note"] -> note.
-PASS: div[role="paragraph"] -> paragraph.
-PASS: div[role="progressbar"] -> progressbar.
-PASS: div[role="radiogroup"] -> radiogroup.
-PASS: div[role="radio"] -> radio.
-PASS: div[role="region"]:not([aria-label]:not([aria-labelledby]) -> .
-PASS: div[role="region"][aria-label] -> region.
-PASS: div[role="region"][aria-labelledby] -> region.
-PASS: div[role="scrollbar"] -> scrollbar.
-PASS: div[role="search"] -> search.
-PASS: div[role="separator"] -> separator.
-PASS: div[role="slider"] -> slider.
-PASS: div[role="spinbutton"] -> spinbutton.
-PASS: div[role="status"] -> status.
-PASS: div[role="subscript"] -> subscript.
-PASS: div[role="superscript"] -> superscript.
-PASS: div[role="tablist"] -> tablist.
-PASS: div[role="tab"] -> tab.
-PASS: div[role="tabpanel"] -> tabpanel.
-PASS: div[role="textbox"] -> .
-PASS: div[role="term"] -> term.
-PASS: div[role="time"] -> time.
-PASS: div[role="timer"] -> timer.
-PASS: div[role="toolbar"] -> toolbar.
-PASS: div[role="tooltip"] -> tooltip.
-PASS: div[role="tree"] -> tree.
-PASS: div[role="treeitem"] -> treeitem.
-PASS: div[role="treeitem"] -> treeitem.
-PASS: div[role="treegrid"] -> treegrid.
-PASS: div[role="row"] -> row.
-PASS: div[role="rowheader"] -> rowheader.
-PASS: div[role="columnheader"] -> columnheader.
-PASS: div[role="gridcell"] -> gridcell.
-PASS: div[role="button foo"] -> button.
-PASS: div[role="foo button bar"] -> button.
-PASS: div[role="foo button bar"] -> button.
-PASS: div[role="foo button bar"] -> .
-PASS: div[role="foo
+PASS a[href] -> link.
+PASS article -> article.
+PASS aside -> complementary.
+PASS button -> button.
+PASS del -> deletion.
+PASS dfn -> definition.
+PASS dl -> .
+PASS footer -> contentinfo.
+PASS form -> form.
+PASS header -> banner.
+PASS h1 -> heading.
+PASS h2 -> heading.
+PASS h3 -> heading.
+PASS h4 -> heading.
+PASS h5 -> heading.
+PASS h5 -> heading.
+PASS hr -> separator.
+PASS img[alt='X'] -> image.
+PASS input[type='button'] -> button.
+PASS input[type='checkbox'] -> checkbox.
+PASS input[type='date'] -> .
+PASS input[type='datetime'] -> .
+PASS input[type='datetime-local'] -> .
+PASS input[type='email'] -> .
+PASS input[type='file'] -> button.
+PASS input[type='image'] -> button.
+PASS input[type='month'] -> .
+PASS input[type='number'] -> .
+PASS input[type='password'] -> .
+PASS input[type='radio'] -> radio.
+PASS input[type='range'] -> slider.
+PASS input[type='reset'] -> button.
+PASS input[type='search'] -> searchbox.
+PASS input[type='submit'] -> button.
+PASS input[type='tel'] -> .
+PASS input[type='text'] -> .
+PASS input[type='time'] -> .
+PASS input[type='url'] -> .
+PASS input[type='week'] -> .
+PASS ins -> insertion.
+PASS mark -> .
+PASS math -> math.
+PASS meter -> meter.
+PASS nav -> navigation.
+PASS ol -> list.
+PASS li -> listitem.
+PASS p -> paragraph.
+PASS pre -> .
+PASS progress -> progressbar.
+PASS samp -> .
+PASS section:not([aria-label]:not([aria-labelledby]) -> .
+PASS section[aria-label] -> region.
+PASS section[aria-labelledby] -> region.
+PASS select:not([multiple]) -> button.
+PASS select[multiple] -> listbox.
+PASS option -> option.
+PASS optgroup -> option.
+PASS option -> option.
+PASS option -> option.
+PASS sub -> subscript.
+PASS sup -> superscript.
+PASS table -> table.
+PASS tr -> row.
+PASS th -> columnheader.
+PASS tr -> row.
+PASS td -> cell.
+PASS tr -> row.
+PASS td -> cell.
+PASS table[role="grid"] -> grid.
+PASS tr -> row.
+PASS th -> columnheader.
+PASS tr -> row.
+PASS td[role="gridcell"] -> gridcell.
+PASS tr -> row.
+PASS td[role="gridcell"] -> gridcell.
+PASS textarea -> textbox.
+PASS time -> time.
+PASS ul -> list.
+PASS li -> listitem.
+PASS var -> .
+PASS div[role="command"] -> .
+PASS div[role="composite"] -> .
+PASS div[role="input"] -> .
+PASS div[role="landmark"] -> .
+PASS div[role="range"] -> .
+PASS div[role="roletype"] -> .
+PASS div[role="section"] -> .
+PASS div[role="sectionhead"] -> .
+PASS div[role="select"] -> .
+PASS div[role="structure"] -> .
+PASS div[role="widget"] -> .
+PASS div[role="window"] -> .
+PASS div[role="alert"] -> alert.
+PASS div[role="alertdialog"] -> alertdialog.
+PASS div[role="application"] -> application.
+PASS div[role="article"] -> article.
+PASS div[role="banner"] -> banner.
+PASS div[role="blockquote"] -> blockquote.
+PASS div[role="button"] -> button.
+PASS div[role="caption"] -> caption.
+PASS div[role="checkbox"] -> checkbox.
+PASS div[role="combobox"] -> combobox.
+PASS div[role="complementary"] -> complementary.
+PASS div[role="contentinfo"] -> contentinfo.
+PASS div[role="definition"] -> definition.
+PASS div[role="deletion"] -> deletion.
+PASS div[role="dialog"] -> dialog.
+PASS div[role="directory"] -> list.
+PASS div[role="document"] -> document.
+PASS div[role="figure"] -> figure.
+PASS div[role="form"] -> form.
+PASS div[role="graphics-document"] -> document.
+PASS div[role="graphics-object"] -> group.
+PASS div[role="graphics-symbol"] -> image.
+PASS div[role="grid"] -> grid.
+PASS div[role="row"] -> row.
+PASS div[role="rowheader"] -> rowheader.
+PASS div[role="columnheader"] -> columnheader.
+PASS div[role="gridcell"] -> gridcell.
+PASS div[role="feed"] -> feed.
+PASS div[role="group"] -> group.
+PASS div[role="heading"] -> heading.
+PASS div[role="img"] -> image.
+PASS div[role="insertion"] -> insertion.
+PASS div[role="link"] -> link.
+PASS div[role="list"] -> list.
+PASS div[role="listitem"] -> listitem.
+PASS div[role="listbox"] -> listbox.
+PASS div[role="option"] -> option.
+PASS div[role="log"] -> log.
+PASS div[role="main"] -> main.
+PASS div[role="marquee"] -> marquee.
+PASS div[role="math"] -> math.
+PASS div[role="menu"] -> menu.
+PASS div[role="menuitem"] -> menuitem.
+PASS div[role="menuitemcheckbox"] -> menuitemcheckbox.
+PASS div[role="menuitemradio"] -> menuitemradio.
+PASS div[role="menubar"] -> menubar.
+PASS div[role="menuitem"] -> menuitem.
+PASS div[role="menuitemcheckbox"] -> menuitemcheckbox.
+PASS div[role="menuitemradio"] -> menuitemradio.
+PASS div[role="meter"] -> meter.
+PASS div[role="navigation"] -> navigation.
+PASS div[role="note"] -> note.
+PASS div[role="paragraph"] -> paragraph.
+PASS div[role="progressbar"] -> progressbar.
+PASS div[role="radiogroup"] -> radiogroup.
+PASS div[role="radio"] -> radio.
+PASS div[role="region"]:not([aria-label]:not([aria-labelledby]) -> .
+PASS div[role="region"][aria-label] -> region.
+PASS div[role="region"][aria-labelledby] -> region.
+PASS div[role="scrollbar"] -> scrollbar.
+PASS div[role="search"] -> search.
+PASS div[role="separator"] -> separator.
+PASS div[role="slider"] -> slider.
+PASS div[role="spinbutton"] -> spinbutton.
+PASS div[role="status"] -> status.
+PASS div[role="subscript"] -> subscript.
+PASS div[role="superscript"] -> superscript.
+PASS div[role="tablist"] -> tablist.
+PASS div[role="tab"] -> tab.
+PASS div[role="tabpanel"] -> tabpanel.
+PASS div[role="textbox"] -> .
+PASS div[role="term"] -> term.
+PASS div[role="time"] -> time.
+PASS div[role="timer"] -> timer.
+PASS div[role="toolbar"] -> toolbar.
+PASS div[role="tooltip"] -> tooltip.
+PASS div[role="tree"] -> tree.
+PASS div[role="treeitem"] -> treeitem.
+PASS div[role="treeitem"] -> treeitem.
+PASS div[role="treegrid"] -> treegrid.
+PASS div[role="row"] -> row.
+PASS div[role="rowheader"] -> rowheader.
+PASS div[role="columnheader"] -> columnheader.
+PASS div[role="gridcell"] -> gridcell.
+PASS div[role="button foo"] -> button.
+PASS div[role="foo button bar"] -> button.
+PASS div[role="foo button bar"] -> button.
+PASS div[role="foo button bar"] -> .
+PASS div[role="foo
button
bar"] -> .
-PASS: img[role="foo"] -> image.
-PASS: img[role="foo bar"] -> image.
-PASS: img[role="foo bar"] -> image.
-PASS: img[role="foo bar"] -> image.
-PASS: img[role="foo
+PASS img[role="foo"] -> image.
+PASS img[role="foo bar"] -> image.
+PASS img[role="foo bar"] -> image.
+PASS img[role="foo bar"] -> image.
+PASS img[role="foo
bar"] -> image.
-PASS: img[role="text"] -> text.
-PASS: img[role="text img"] -> text.
-PASS: img[role="img text"] -> image.
-PASS: img[role="presentation"][aria-label] -> image.
-PASS: a[role="foo bar"] -> link.
+PASS img[role="text"] -> text.
+PASS img[role="text img"] -> text.
+PASS img[role="img text"] -> image.
+PASS img[role="presentation"][aria-label] -> image.
+PASS a[role="foo bar"] -> link.
PASS successfullyParsed is true
TEST COMPLETE
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes