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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/webappapis/scripting/events/event-handler-attributes-body-window.html

Issue 1419013007: update-w3c-deps import using blink 83a52878976eaffc8753993a7689c9c178664fba: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 <title>HTMLBodyElement.onblur</title>
3
4 <script src="../../../../../../resources/testharness.js"></script>
5 <script src="../../../../../../resources/testharnessreport.js"></script>
6 <div id="log"></div>
7 <body>
8 <script>
9 function f() {
10 return 0;
11 }
12
13 var handlers = ['blur','error','focus','load','resize','scroll',
14 'afterprint','beforeprint','beforeunload','hashchange',
15 'languagechange','message','offline','online','pagehide',
16 'pageshow','popstate','storage','unload'];
17 handlers.forEach(function(handler) {
18 test(function() {
19 document.body['on' + handler] = f;
20 assert_equals(window['on' + handler], f);
21 });
22 });
23
24 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698