Index: LayoutTests/fast/dom/body-frameset-event-handlers.html |
diff --git a/LayoutTests/fast/dom/body-frameset-event-handlers.html b/LayoutTests/fast/dom/body-frameset-event-handlers.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..69c5243c20f3f4d5cd338a6f2b1370d8edd108a2 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/body-frameset-event-handlers.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<title>HTMLBodyElement and HTMLFrameSetElement event handler test</title> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script src="script-tests/event-handlers.js"></script> |
+<script> |
+// attribute list from WHATWG HTML Living Standard r8239 |
+[ |
+ "onblur", |
+ "onerror", |
+ "onfocus", |
+ "onload", |
+ "onscroll" |
+].forEach(function(attribute) { |
+ testSet("HTMLBodyElement", attribute); |
+ testEnumerate("HTMLBodyElement", attribute); |
+ testReflect("HTMLBodyElement", attribute); |
+ testSet("HTMLFrameSetElement", attribute); |
+ testEnumerate("HTMLFrameSetElement", attribute); |
+ testReflect("HTMLFrameSetElement", attribute); |
+}); |
+</script> |
+<div id="log"></div> |