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

Unified Diff: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html

Issue 1976603006: Set view property of pointer events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html
diff --git a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html
index bcd68dd21e4180249ee23786fa06faea00679b4a..b76bc3212e4235ae15e411f8e25e49efdba48f2c 100644
--- a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html
+++ b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-event-properties-in-iframe.html
@@ -14,6 +14,7 @@ iframe {
<iframe id='target' srcdoc="
<body style='height:500px; width: 500px; padding: 0; margin: 0;'>
<script>
+ window.name = 'innerFrame';
var testEventList = ['pointerup', 'pointerdown', 'pointermove',
'touchstart', 'touchmove', 'touchend',
'mouseup', 'mousedown', 'mousemove'];
@@ -29,6 +30,7 @@ iframe {
<div id='console'></div>
<script>
+window.name = 'outerFrame';
var attributes = [
'clientX',
@@ -79,6 +81,7 @@ function dumpEvents()
attributes.forEach(function(att) {
debug(att + " = " + event[att]);
});
+ debug("view.name = " + event.view.name);
} else if (event.type.startsWith('touch')) {
debug(event.type + " is recieved:");
attributes.forEach(function(att) {

Powered by Google App Engine
This is Rietveld 408576698