<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<form id="form"> | |
<input id="file" type="file" /> | |
<input id="reset" type="reset" /> | |
</form> | |
<div id="console">C:\fakepath\foo.txt is selected.</div> | |
<p> | |
This tests whether the label next to the file chooser button becomes "No file chosen" | |
when we press the reset button. | |
To run this test manually, choose a file and then click the reset button. | |
If the label next to the file chooser button changes to "No file chosen", the test passes. | |
</p> | |
</body> | |
</html> |