Index: LayoutTests/dialog/inert-node-is-not-highlighted-expected.html |
diff --git a/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html b/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html |
index 64796e758eaafc0a9018a2518d71ef6831a4b1bf..3aaeb5f75bc0fc859b50d10770adebb4e1715a41 100644 |
--- a/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html |
+++ b/LayoutTests/dialog/inert-node-is-not-highlighted-expected.html |
@@ -24,7 +24,8 @@ none (crbug.com/147490).</p> |
<script> |
dialog = document.querySelector('dialog'); |
dialog.show(); |
-document.execCommand('SelectAll'); |
+selectable = document.querySelector('#selectable'); |
+window.getSelection().selectAllChildren(selectable); |
</script> |
</body> |
</html> |