Device motion and orientation should only be visible from the main frame's security...
[WebKit-https.git] / ManualTests / show-modal-dialog-test.html
1 <script>
2 function showModal() {
3     document.form.fromModal.value =
4         showModalDialog("modal-dialog.html",
5             document.form.toModal.value,
6             "dialogHeight:280px,dialogWidth:400px");
7 }
8 </script>
9 <form name="form">
10 <p>Type text here to be sent to the modal window and press the button:
11 <input name="toModal" value="from main window">
12 <input type="button" value="Show Modal" onClick="showModal()"></p>
13 <hy>
14 <p>Text will appear here from the modal window: <input name="fromModal">
15 </form>