[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / aria-listbox-clear-selection-crash.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7 <ul id="listbox" role="listbox">
8     <li role="option">Option 1</li>
9     <li role="option">Option 2</li>
10 </ul>
11 <div id="description"></div>
12 <div id="console"></div>
13 <script>
14     description("Tests that attempting to clear the selection in an ARIA listbox doesn't cause a crash.");
15     if (window.accessibilityController) {
16         var listbox = accessibilityController.accessibleElementById("listbox");
17         listbox.clearSelectedChildren();
18         shouldBe("listbox.selectedChildrenCount", "0");
19     }
20 </script>
21 <script src="../resources/js-test-post.js"></script>
22 </body>
23 </html>