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

Unified Diff: LayoutTests/fast/notifications/notification-click-window-focus-expected.txt

Issue 186713002: Add new layout tests for the Web Notification API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: LayoutTests/fast/notifications/notification-click-window-focus-expected.txt
diff --git a/LayoutTests/fast/notifications/notification-click-window-focus-expected.txt b/LayoutTests/fast/notifications/notification-click-window-focus-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f196c35a73732490f83b923d463d1ba267365e69
--- /dev/null
+++ b/LayoutTests/fast/notifications/notification-click-window-focus-expected.txt
@@ -0,0 +1,13 @@
+DESKTOP NOTIFICATION SHOWN: Notification
+DESKTOP NOTIFICATION CLOSED: Notification
+Tests that it is possible to return focus to the |window| object when a notification has been clicked on when another window is in the foreground.
+
+When running this test manually, disable pop-up blocking, grant permission for the notification and reload this page. Click the notification which will be shown. You should see two PASS messages and this window should be focused.
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS notification.onshow() has been called.
+PASS notification.onclick() has been called.
+PASS Focus has been returned to the opening window.
+

Powered by Google App Engine
This is Rietveld 408576698