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

Unified Diff: third_party/WebKit/Source/web/tests/data/touch-event-handler-passive.html

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Rebase Created 4 years, 10 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/Source/web/tests/data/touch-event-handler-passive.html
diff --git a/third_party/WebKit/Source/web/tests/data/scroll-event-handler.html b/third_party/WebKit/Source/web/tests/data/touch-event-handler-passive.html
similarity index 50%
copy from third_party/WebKit/Source/web/tests/data/scroll-event-handler.html
copy to third_party/WebKit/Source/web/tests/data/touch-event-handler-passive.html
index 32838cb71a95a9a5ff9444fee4d36949a7e1da2f..a76699ca87007f152fc420e26cd0f3fc1a0235dc 100644
--- a/third_party/WebKit/Source/web/tests/data/scroll-event-handler.html
+++ b/third_party/WebKit/Source/web/tests/data/touch-event-handler-passive.html
@@ -2,8 +2,8 @@
<html>
<head>
<script type="text/javascript">
- document.addEventListener('scroll', function(event) {
- });
+ window.addEventListener('touchstart', function(event) {
+ }, {passive: true} );
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698