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

Unified Diff: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html

Issue 1934413003: Usecounter added for counting usage of addEventListener for PointerEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html
diff --git a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html
index 304b6af1d30568af0a7b972b859ba0f5795ae698..62e44e8d261216787dad6ec862ee2009f637e286 100644
--- a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html
+++ b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/pointer-use-count.html
@@ -24,6 +24,7 @@ var x1 = rect.left + 5;
var y1 = rect.top + 5;
var PointerEventAttributeCount = 1321; //Comes from enum Feature in UseCounter.h
+var PointerEventAddListenerCount = 1343; //Comes from enum Feature in UseCounter.h
function init() {
var targetDiv = document.getElementById("grey");
@@ -40,6 +41,7 @@ function runTest() {
eventSender.mouseDown(1);
shouldBe('internals.isUseCounted(document, PointerEventAttributeCount)', 'true');
+ shouldBe('internals.isUseCounted(document, PointerEventAddListenerCount)', 'true');
}
init();

Powered by Google App Engine
This is Rietveld 408576698