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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/resources/click-event-test.js

Issue 1644063002: Simplify TestRunnerBindings::SimulateWebNotificationClick param handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/http/tests/notifications/resources/click-event-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/click-event-test.js b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/click-event-test.js
index c9a135e3861cf92a2f3df85b8f51a4b4f6f9f848..827001665a9067ff295098dbb61acdfc1f626bd3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/click-event-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/click-event-test.js
@@ -12,7 +12,7 @@ async_test(function(test) {
var notification = new Notification('My Notification');
notification.addEventListener('show', function() {
if (testRunner)
- testRunner.simulateWebNotificationClick('My Notification');
+ testRunner.simulateWebNotificationClick('My Notification', -1 /* action_index */);
});
notification.addEventListener('click', function() {

Powered by Google App Engine
This is Rietveld 408576698