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

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

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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