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

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

Issue 48603002: Implement WindowEventHandlers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/window-event-handlers-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 r8239
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", 19 "onresize",
20 "onstorage", 20 "onstorage",
21 "onunload" 21 "onunload"
22 ].forEach(function(attribute) { 22 ].forEach(function(attribute) {
23 testSet("Window", attribute);
23 testEnumerate("Window", attribute); 24 testEnumerate("Window", attribute);
25 testSet("HTMLBodyElement", attribute);
24 testEnumerate("HTMLBodyElement", attribute); 26 testEnumerate("HTMLBodyElement", attribute);
27 testReflect("HTMLBodyElement", attribute);
28 testForwardToWindow("HTMLBodyElement", attribute);
29 testSet("HTMLFrameSetElement", attribute);
25 testEnumerate("HTMLFrameSetElement", attribute); 30 testEnumerate("HTMLFrameSetElement", attribute);
31 testReflect("HTMLFrameSetElement", attribute);
32 testForwardToWindow("HTMLFrameSetElement", attribute);
26 }); 33 });
27 </script> 34 </script>
28 <div id="log"></div> 35 <div id="log"></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/window-event-handlers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698