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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/notifications/click-window-focus-document.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/click-window-focus-document.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/notifications/click-window-focus-document.html b/third_party/WebKit/LayoutTests/http/tests/notifications/click-window-focus-document.html
index e7d2a649d6db62c60ce95c56ed2a9a387d765f5e..c2dd86e81b19dec510f3bda7b62f06d0a0eb75b7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/notifications/click-window-focus-document.html
+++ b/third_party/WebKit/LayoutTests/http/tests/notifications/click-window-focus-document.html
@@ -33,7 +33,7 @@
var notification = new Notification('My Notification');
notification.addEventListener('show', test.step_func(function() {
if (window.testRunner)
- testRunner.simulateWebNotificationClick('My Notification');
+ testRunner.simulateWebNotificationClick('My Notification', -1 /* action_index */);
}));
notification.addEventListener('click', test.step_func(function() {

Powered by Google App Engine
This is Rietveld 408576698