Edge Browser doesn't follow the spec for the File Object. (Missing LastModified Date)

Issue #4155006 • Assigned to Ali A.

Details

Created
Aug 14, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

<!DOCTYPE html >
<html lang="en">
<head>
<style type="text/css">
#form {
width: 300px;
padding: 20px;
float: left;
}

#results {
padding-top: 20px;
clear: both;
}
</style>

<script type="text/javascript">

function changeEventHandler(event) {
var files = event.target.files;

var result = '’;
for (var i = 0; i < files.length; i++) {
var file = files[i];
result += '<span class="result">’+’name '+file.name+’, size '+file.size+’, lastModified '+file.lastModified+’</span><br />’;
}
document.getElementById(‘results’).innerHTML = result;
}
</script>
</head>
<body>
<div id="form">
<form action="/nonexistent.pl">
<input id="files" type="file" onchange="changeEventHandler(event);" multiple />
</form>
</div>
<div id="results">RESULTS<br /></div>
</body>
</html>

Expected Results:

Return the correct value according to the spec: https://w3c.github.io/FileAPI/#file-attrs

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Ali A.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in