2 <script src=
"resources/file-drag-common.js"></script>
4 <p>Resetting a file upload control by script should clear the icon.
</p>
5 <p>Manual test: Select a file for the file upload control, and confirm it has no icon.
</p>
6 <input id=file1 type=file
>
9 function handleChange() {
13 var file1
= document
.getElementById('file1');
14 file1
.addEventListener('change', handleChange
);
15 dragFilesOntoElement(file1
, ['foo.txt']);