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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-document-close.html

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/serviceworkerregistration-document-close.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-document-close.html b/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-document-close.html
index 965fba84c6a15c51fb2f4e0b4c6cd5d8b26eb24f..95d1fdc0d061b0737d040822490bb69e6d6a73a8 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-document-close.html
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/serviceworkerregistration-document-close.html
@@ -31,7 +31,7 @@
});
}).then(function() {
// (2) Simulate a click on the notification that has been displayed.
- testRunner.simulateWebNotificationClick(scope);
+ testRunner.simulateWebNotificationClick(scope, -1 /* action_index */);
workerInfo.port.addEventListener('message', function(event) {
if (typeof event.data != 'object' || !event.data.command) {

Powered by Google App Engine
This is Rietveld 408576698