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