Revision 105aa9b5f1a2cd3ab4f2d4cbf9db2cd9a0c7bd39 authored by jgraham on 28 March 2018, 19:03:58 UTC, committed by GitHub on 28 March 2018, 19:03:58 UTC
1 parent 167a1d6
FileReader-event-handler-attributes.html
<!doctype html>
<meta charset="utf-8">
<title>FileReader event handler attributes</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
var attributes = [
"onloadstart",
"onprogress",
"onload",
"onabort",
"onerror",
"onloadend",
];
attributes.forEach(function(a) {
test(function() {
var reader = new FileReader();
assert_equals(reader[a], null,
"event handler attribute should initially be null");
}, "FileReader." + a + ": initial value");
});
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...