| Index: content/test/data/accessibility/modal-dialog-in-iframe-opened.html
|
| diff --git a/content/test/data/accessibility/modal-dialog-in-iframe-opened.html b/content/test/data/accessibility/modal-dialog-in-iframe-opened.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3130de1c0316d76f5b30e532078790ace7097187
|
| --- /dev/null
|
| +++ b/content/test/data/accessibility/modal-dialog-in-iframe-opened.html
|
| @@ -0,0 +1,22 @@
|
| +<!--
|
| +@MAC-ALLOW:AXSubrole=*
|
| +-->
|
| +<html>
|
| +<body>
|
| +Test for modal dialog opened in an iframe.
|
| +<iframe></iframe>
|
| +<script>
|
| +var frameCode =
|
| + '<dialog>Text in the dialog.</dialog>\n' +
|
| + '<button>I should not be in the AT tree.</button>\n';
|
| +
|
| +var iframeDoc = document.querySelector('iframe').contentDocument;
|
| +iframeDoc.open();
|
| +iframeDoc.write(frameCode);
|
| +iframeDoc.close();
|
| +
|
| +var dialog = iframeDoc.querySelector('dialog');
|
| +dialog.showModal();
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|