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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/resources/test-helpers.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/test-helpers.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/test-helpers.js b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/test-helpers.js
index b9c06b2b7eb514256471068e98f21763b4779ac8..fca5463c72841efe40fc2ad556868a9b1995d9ac 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/test-helpers.js
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/test-helpers.js
@@ -7,7 +7,7 @@ function supportTestRunnerMessagesOnPort(messagePort)
messagePort.addEventListener('message', function(message) {
if (message.data.type == 'simulateWebNotificationClick')
- testRunner.simulateWebNotificationClick(message.data.title);
+ testRunner.simulateWebNotificationClick(message.data.title, -1 /* action_index */);
});
}

Powered by Google App Engine
This is Rietveld 408576698