Index: chrome/test/data/notifications/android_test.html |
diff --git a/chrome/test/data/notifications/android_test.html b/chrome/test/data/notifications/android_test.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..08e707fcc057ee4713238c15bb19564370c318f2 |
--- /dev/null |
+++ b/chrome/test/data/notifications/android_test.html |
@@ -0,0 +1,20 @@ |
+<!doctype html> |
+<html lang="en"> |
+ <head> |
+ <meta charset="utf-8"> |
+ <title>Android Web Notifications Instrumentation test-page</title> |
+ </head> |
+ <body> |
+ <!-- This page is used by the NotificationUIManagerTest instrumentation test |
+ suite on Android. --> |
+ <script src="notification_test_utils.js"></script> |
+ <script> |
+ function showNotification(title, options) { |
+ GetActivatedServiceWorker('android_test_worker.js', location.pathname) |
+ .then(function(registration) { |
+ registration.showNotification(title, options); |
+ }); |
+ } |
+ </script> |
+ </body> |
+</html> |