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

Side by Side Diff: chrome/test/data/notifications/android_test.html

Issue 960923004: Add two instrumentation tests for Web Notifications on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>Android Web Notifications Instrumentation test-page</title>
6 </head>
7 <body>
8 <!-- This page is used by the NotificationUIManagerTest instrumentation test
9 suite on Android. -->
10 <script src="notification_test_utils.js"></script>
11 <script>
12 function showNotification(title, options) {
13 GetActivatedServiceWorker('android_test_worker.js', location.pathname)
14 .then(function(registration) {
15 registration.showNotification(title, options);
16 });
17 }
18 </script>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698