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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html

Issue 1976603006: Set view property of pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html b/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html
index 3cff0b4ad65ca686824e4ff5a2ae7ce6d3497441..3a4ef376e7466297ee202e569b8db972ef338b57 100644
--- a/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html
+++ b/third_party/WebKit/LayoutTests/fast/events/pointerevents/mouse-pointer-event-properties.html
@@ -15,6 +15,7 @@ div.box {
<div id="console"></div>
<script>
+window.name = "mainWindow";
description("Verifies that pointer event parameters are correct when fired for mouse events.");
var testEventList = ["mouseenter", "mouseleave", "mouseover", "mouseout", "mouseup", "mousedown", "mousemove",
@@ -88,6 +89,7 @@ function init() {
}
shouldBeEqualToNumber("lastPointerEvents[0]." + attribute, expectedValue);
});
+ shouldBeEqualToString("lastPointerEvents[0].view.name", "mainWindow");
} else {

Powered by Google App Engine
This is Rietveld 408576698