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

Unified Diff: third_party/WebKit/Source/web/tests/data/wheel-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/wheel-event-handler-passive.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-passive.html
similarity index 85%
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-passive.html
index 7e450a4ece67690280cfd4e100a4c5c12f0f4dc7..5f15b597188932faf103b4288ec60593fbfb735d 100644
--- a/third_party/WebKit/Source/web/tests/data/wheel-event-handler.html
+++ b/third_party/WebKit/Source/web/tests/data/wheel-event-handler-passive.html
@@ -3,7 +3,7 @@
<head>
<script type="text/javascript">
window.addEventListener('mousewheel', function(event) {
- });
+ }, {passive: true});
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698