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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom.html

Issue 1895303007: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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/event-listener-on-attribute-inside-shadow-dom.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom.html b/third_party/WebKit/LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom.html
index 12c7a0129227075a92ea14c60fec63c37e55e239..c5aac0537bd5712e30e40a021683a6f3549b00ea 100644
--- a/third_party/WebKit/LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom.html
+++ b/third_party/WebKit/LayoutTests/fast/events/event-listener-on-attribute-inside-shadow-dom.html
@@ -14,7 +14,7 @@ var shadowRoot = div2.createShadowRoot();
// Register an event listener on an attribute node.
div1.attributes[0].addEventListener('touchstart', function() { });
if (window.internals)
- shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+ shouldBe('window.internals.touchStartOrMoveEventHandlerCount(document)', '1');
// Move the parent element into a shadow DOM.
shadowRoot.appendChild(div1);
@@ -25,6 +25,6 @@ doc.adoptNode(div2);
// Make sure the handler was unregistered.
if (window.internals)
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+ shouldBe('window.internals.touchStartOrMoveEventHandlerCount(document)', '0');
</script>

Powered by Google App Engine
This is Rietveld 408576698