diff options
Diffstat (limited to 'testing/web-platform/tests/accessibility/crashtests/activedescendant-crash.html')
-rw-r--r-- | testing/web-platform/tests/accessibility/crashtests/activedescendant-crash.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accessibility/crashtests/activedescendant-crash.html b/testing/web-platform/tests/accessibility/crashtests/activedescendant-crash.html new file mode 100644 index 0000000000..ac0dc5d5ed --- /dev/null +++ b/testing/web-platform/tests/accessibility/crashtests/activedescendant-crash.html @@ -0,0 +1,7 @@ +<iframe></iframe> +<script> +let frame = document.querySelector("iframe"); +window.xyz = frame.contentWindow.accessibilityController.focusedElement; +frame.remove(); +window.xyz.activeDescendant; +</script> |