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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/onclick-list-marker.html

Issue 2598353002: The second argument of add/removeEventListener should be an object, null, or undefined
Patch Set: Fix tests Created 3 years, 11 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/fast/events/onclick-list-marker.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/onclick-list-marker.html b/third_party/WebKit/LayoutTests/fast/events/onclick-list-marker.html
index 17c740f03ac47c414e98e73152fefd6739cd2464..32bb25442085ab73839ec8c4f7ed6503e56563a8 100644
--- a/third_party/WebKit/LayoutTests/fast/events/onclick-list-marker.html
+++ b/third_party/WebKit/LayoutTests/fast/events/onclick-list-marker.html
@@ -61,7 +61,7 @@ function runTest() {
// the list marker is hit at some point between the left edge of the list item and the left edge of the list.
li.onclick = clickCounter;
- ul.onclick = 0;
+ ul.onclick = null;
for (x = ul.offsetLeft; x < li.offsetLeft; x += 5) {
eventSender.mouseMoveTo(x, y);
@@ -103,4 +103,4 @@ ul {
<script>
runTest();
-</script>
+</script>

Powered by Google App Engine
This is Rietveld 408576698