blob: 521e0a5e88c5642705482eb43d016681158752ae [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<attachment id="attachment" subtitle="1024 bytes"></attachment>
<script>
var file;
if (window.internals)
file = window.internals.createFile("resources/test-file.txt");
document.getElementById("attachment").file = file;
</script>
</body>
</html>