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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/notificationclick-can-focus.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/serviceworker/chromium/notificationclick-can-focus.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/notificationclick-can-focus.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/notificationclick-can-focus.html
index 7816ef746021b02831e0b3d83d35ecde68d6109e..731213f9f50377251473994d9ea7036c82d87eca 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/notificationclick-can-focus.html
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/notificationclick-can-focus.html
@@ -39,7 +39,7 @@ t.step(function() {
if (message.type !== 'click')
return;
if (window.testRunner)
- testRunner.simulateWebNotificationClick(message.title);
+ testRunner.simulateWebNotificationClick(message.title, -1 /* action_index */);
return;
}

Powered by Google App Engine
This is Rietveld 408576698