1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:04:59 +00:00
serenity/Tests/LibWeb/Text/input/input-element-file-value.html
Shannon Booth fc4fd6cb02 LibWeb: Fix empty value attribute for 'file' input returning fakepath
It should be returning the empty string for this case.
2023-08-26 13:51:18 +02:00

8 lines
207 B
HTML

<script src="include.js"></script>
<script>
test(() => {
const input = document.createElement("input");
input.type = 'file';
println(`value = '${input.value}'`);
})
</script>