Index: chrome/test/data/banners/appinstalled_test_page.html |
diff --git a/chrome/test/data/banners/appinstalled_test_page.html b/chrome/test/data/banners/appinstalled_test_page.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39345b5d5c2cb35db692c9dbdbf027e3134befd1 |
--- /dev/null |
+++ b/chrome/test/data/banners/appinstalled_test_page.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>appinstalled event test page</title> |
+ <script> |
+ function onAppInstalled() { |
+ window.document.title = 'Got appinstalled'; |
+ } |
+ |
+ window.addEventListener('load', () => { |
+ window.addEventListener('appinstalled', onAppInstalled); |
+ }); |
+ </script> |
+ </head> |
+ <body> |
+ </body> |
+</html> |