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

Unified Diff: third_party/WebKit/Source/web/tests/data/wheel-event-handler-both.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: Fix nits 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/wheel-event-handler-both.html
diff --git a/third_party/WebKit/Source/web/tests/data/wheel-event-handler.html b/third_party/WebKit/Source/web/tests/data/wheel-event-handler-both.html
similarity index 56%
copy from third_party/WebKit/Source/web/tests/data/wheel-event-handler.html
copy to third_party/WebKit/Source/web/tests/data/wheel-event-handler-both.html
index 7e450a4ece67690280cfd4e100a4c5c12f0f4dc7..24d7d1468c2ba1af3d191c4378b717dd9f0c3a16 100644
--- a/third_party/WebKit/Source/web/tests/data/wheel-event-handler.html
+++ b/third_party/WebKit/Source/web/tests/data/wheel-event-handler-both.html
@@ -3,7 +3,9 @@
<head>
<script type="text/javascript">
window.addEventListener('mousewheel', function(event) {
- });
+ }, {passive: true});
+ window.addEventListener('mousewheel', function(event) {
+ }, {passive: false});
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698