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

Side by Side Diff: third_party/WebKit/LayoutTests/html/sections/body-frameset-event-handlers.html

Issue 2669403002: Move tests for sections elements to html/sections/. (Closed)
Patch Set: Created 3 years, 10 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>HTMLBodyElement and HTMLFrameSetElement event handler test</title> 2 <title>HTMLBodyElement and HTMLFrameSetElement event handler 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="resources/event-handlers.js"></script> 5 <script src="../resources/event-handlers.js"></script>
6 <script> 6 <script>
7 // attribute list from WHATWG HTML Living Standard r8389 7 // attribute list from WHATWG HTML Living Standard r8389
8 [ 8 [
9 "onblur", 9 "onblur",
10 "onerror", 10 "onerror",
11 "onfocus", 11 "onfocus",
12 "onload", 12 "onload",
13 "onresize", 13 "onresize",
14 "onscroll" 14 "onscroll"
15 ].forEach(function(attribute) { 15 ].forEach(function(attribute) {
16 testSet("HTMLBodyElement", attribute); 16 testSet("HTMLBodyElement", attribute);
17 testEnumerate("HTMLBodyElement", attribute); 17 testEnumerate("HTMLBodyElement", attribute);
18 testReflect("HTMLBodyElement", attribute); 18 testReflect("HTMLBodyElement", attribute);
19 testForwardToWindow("HTMLBodyElement", attribute); 19 testForwardToWindow("HTMLBodyElement", attribute);
20 testSet("HTMLFrameSetElement", attribute); 20 testSet("HTMLFrameSetElement", attribute);
21 testEnumerate("HTMLFrameSetElement", attribute); 21 testEnumerate("HTMLFrameSetElement", attribute);
22 testReflect("HTMLFrameSetElement", attribute); 22 testReflect("HTMLFrameSetElement", attribute);
23 testForwardToWindow("HTMLFrameSetElement", attribute); 23 testForwardToWindow("HTMLFrameSetElement", attribute);
24 }); 24 });
25 </script> 25 </script>
26 <div id="log"></div> 26 <div id="log"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698