6 Test for modal dialog closed in an iframe.
7 <iframe scrolling="no"></iframe>
10 '<dialog>Text in the dialog.</dialog>\n' +
11 '<button>I am a non-inert button!</button>\n';
13 var iframeDoc = document.querySelector('iframe').contentDocument;
15 iframeDoc.write(frameCode);
18 var dialog = iframeDoc.querySelector('dialog');