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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html

Issue 2490303003: Add once field to devtools so it can be queried by lighthouse. (Closed)
Patch Set: Created 4 years, 1 month 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/inspector/elements/event-listeners-about-blank.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html b/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html
index 97d92128a521792b51dacaa7322802d935d516a1..9ab97f0d25867e063cc4fb47a73ac33c8ad4c699 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/event-listeners-about-blank.html
@@ -12,7 +12,7 @@ function setupEventListeners()
body.addEventListener("click", f, true);
var div = frame.contentDocument.createElement("div");
div.id = "div-in-iframe";
- div.addEventListener("hover", f, true);
+ div.addEventListener("hover", f, {capture: true, once: true});
body.appendChild(div);
body.addEventListener("wheel", f, {"passive": true});
}

Powered by Google App Engine
This is Rietveld 408576698