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

Side by Side Diff: LayoutTests/fast/dom/window-event-handlers.html

Issue 136593002: Move onresize from just Window to Window and elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: force rebuild with whitespace Created 6 years, 11 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>WindowEventHandlers test</title> 2 <title>WindowEventHandlers test</title>
3 <script src="../../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="script-tests/event-handlers.js"></script> 5 <script src="script-tests/event-handlers.js"></script>
6 <script> 6 <script>
7 // attribute list from WHATWG HTML Living Standard r8239 7 // attribute list from WHATWG HTML Living Standard r8389
8 [ 8 [
9 "onafterprint", 9 "onafterprint",
10 "onbeforeprint", 10 "onbeforeprint",
11 "onbeforeunload", 11 "onbeforeunload",
12 "onhashchange", 12 "onhashchange",
13 "onmessage", 13 "onmessage",
14 "onoffline", 14 "onoffline",
15 "ononline", 15 "ononline",
16 "onpagehide", 16 "onpagehide",
17 "onpageshow", 17 "onpageshow",
18 "onpopstate", 18 "onpopstate",
19 "onresize",
20 "onstorage", 19 "onstorage",
21 "onunload" 20 "onunload"
22 ].forEach(function(attribute) { 21 ].forEach(function(attribute) {
23 testSet("Window", attribute); 22 testSet("Window", attribute);
24 testEnumerate("Window", attribute); 23 testEnumerate("Window", attribute);
25 testSet("HTMLBodyElement", attribute); 24 testSet("HTMLBodyElement", attribute);
26 testEnumerate("HTMLBodyElement", attribute); 25 testEnumerate("HTMLBodyElement", attribute);
27 testReflect("HTMLBodyElement", attribute); 26 testReflect("HTMLBodyElement", attribute);
28 testForwardToWindow("HTMLBodyElement", attribute); 27 testForwardToWindow("HTMLBodyElement", attribute);
29 testSet("HTMLFrameSetElement", attribute); 28 testSet("HTMLFrameSetElement", attribute);
30 testEnumerate("HTMLFrameSetElement", attribute); 29 testEnumerate("HTMLFrameSetElement", attribute);
31 testReflect("HTMLFrameSetElement", attribute); 30 testReflect("HTMLFrameSetElement", attribute);
32 testForwardToWindow("HTMLFrameSetElement", attribute); 31 testForwardToWindow("HTMLFrameSetElement", attribute);
33 }); 32 });
34 </script> 33 </script>
35 <div id="log"></div> 34 <div id="log"></div>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/global-event-handlers-expected.txt ('k') | LayoutTests/fast/dom/window-event-handlers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698