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

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

Issue 37283002: Drop NotEnumerable for the on* event handler IDL attributes (again) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rm redundant test Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/window-event-handlers.html
diff --git a/LayoutTests/fast/dom/window-event-handlers.html b/LayoutTests/fast/dom/window-event-handlers.html
new file mode 100644
index 0000000000000000000000000000000000000000..c96f568638cbf5a1e2cba6c97d67c034929ed8f1
--- /dev/null
+++ b/LayoutTests/fast/dom/window-event-handlers.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<title>WindowEventHandlers 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
+[
+ "onafterprint",
+ "onbeforeprint",
+ "onbeforeunload",
+ "onhashchange",
+ "onmessage",
+ "onoffline",
+ "ononline",
+ "onpagehide",
+ "onpageshow",
+ "onpopstate",
+ "onresize",
+ "onstorage",
+ "onunload"
+].forEach(function(attribute) {
+ testEnumerate("Window", attribute);
+ testEnumerate("HTMLBodyElement", attribute);
+ testEnumerate("HTMLFrameSetElement", attribute);
+});
+</script>
+<div id="log"></div>
« no previous file with comments | « LayoutTests/fast/dom/script-tests/event-handlers.js ('k') | LayoutTests/fast/dom/window-event-handlers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698