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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/resources/worker-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/worker-helpers.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/worker-helpers.js b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/worker-helpers.js
index c7779dbbf52c2387253370b7667a8d4faa19192c..6f0d0e08df68a9502a05c133c4a5ff1668c9d46c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/resources/worker-helpers.js
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/resources/worker-helpers.js
@@ -13,9 +13,9 @@ self.addEventListener('connect', function(event) {
});
var testRunner = {
- simulateWebNotificationClick: function(title)
+ simulateWebNotificationClick: function(title, action_index)
{
if (_port)
- _port.postMessage({ type: 'simulateWebNotificationClick', title: title });
+ _port.postMessage({ type: 'simulateWebNotificationClick', title: title, action_index: action_index });
}
};

Powered by Google App Engine
This is Rietveld 408576698