Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / window-event-handlers.html
blobf64fe17b6257fcbcd5b6dc74f3c776a97cb61495
1 <!DOCTYPE html>
2 <title>WindowEventHandlers test</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <script src="script-tests/event-handlers.js"></script>
6 <script>
7 // attribute list from WHATWG HTML Living Standard r8389
9 "onafterprint",
10 "onbeforeprint",
11 "onbeforeunload",
12 "onhashchange",
13 "onmessage",
14 "onoffline",
15 "ononline",
16 "onpagehide",
17 "onpageshow",
18 "onpopstate",
19 "onstorage",
20 "onunload"
21 ].forEach(function(attribute) {
22 testSet("Window", attribute);
23 testEnumerate("Window", attribute);
24 testSet("HTMLBodyElement", attribute);
25 testEnumerate("HTMLBodyElement", attribute);
26 testReflect("HTMLBodyElement", attribute);
27 testForwardToWindow("HTMLBodyElement", attribute);
28 testSet("HTMLFrameSetElement", attribute);
29 testEnumerate("HTMLFrameSetElement", attribute);
30 testReflect("HTMLFrameSetElement", attribute);
31 testForwardToWindow("HTMLFrameSetElement", attribute);
32 });
33 </script>
34 <div id="log"></div>