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

Unified Diff: LayoutTests/fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js

Issue 27511002: Forward onscroll on body and frameset to window (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sharedidl
Patch Set: 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/script-tests/HTMLBodyElement-window-eventListener-attributes.js
diff --git a/LayoutTests/fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js b/LayoutTests/fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js
index 987c73d7d3a0ccca8582b1ba02bd6490e49f3f30..72211924243cf71f6a8dd589045e2d073a54dd1d 100644
--- a/LayoutTests/fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js
+++ b/LayoutTests/fast/dom/Window/script-tests/HTMLBodyElement-window-eventListener-attributes.js
@@ -52,6 +52,10 @@ document.body.onresize = func;
shouldBe("window.onresize", "func");
shouldBe("window.onresize", "document.body.onresize");
+document.body.onscroll = func;
+shouldBe("window.onscroll", "func");
+shouldBe("window.onscroll", "document.body.onscroll");
+
document.body.onstorage = func;
shouldBe("window.onstorage", "func");
shouldBe("window.onstorage", "document.body.onstorage");

Powered by Google App Engine
This is Rietveld 408576698