Backed out changeset 5daa91615f4c (bug 1910593) for causing bug 1914796. CLOSED TREE
[gecko.git] / layout / forms / test / bug536567_subframe.html
blobe4cbb19f21f657ee785f675a67ff4ec1aafc54b2
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <input id="target" type="file" />
5 <script type="text/javascript">
7 window.onload = function() {
8 // Activate the page to allow opening the file picker.
9 SpecialPowers.wrap(document).notifyUserGestureActivation();
11 var fileInput = document.getElementById("target");
12 fileInput.click();
15 </script>
16 </body>
17 </html>