1<!doctype html> 2<meta charset="utf-8"> 3<title>FileReader event handler attributes</title> 4<script src="/resources/testharness.js"></script> 5<script src="/resources/testharnessreport.js"></script> 6<div id=log></div> 7<script> 8var attributes = [ 9 "onloadstart", 10 "onprogress", 11 "onload", 12 "onabort", 13 "onerror", 14 "onloadend", 15]; 16attributes.forEach(function(a) { 17 test(function() { 18 var reader = new FileReader(); 19 assert_equals(reader[a], null, 20 "event handler attribute should initially be null"); 21 }, "FileReader." + a + ": initial value"); 22}); 23</script> 24