Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: LayoutTests/imported/web-platform-tests/FileAPI/reading-data-section/FileReader-event-handler-attributes.html

Issue 1236713002: Import FileAPI tests from web-platform-tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ugh, stupid baselines Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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>
8 var attributes = [
9 "onloadstart",
10 "onprogress",
11 "onload",
12 "onabort",
13 "onerror",
14 "onloadend",
15 ];
16 attributes.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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698