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

Unified Diff: chrome/test/data/banners/lazy_service_worker_test_page.html

Issue 2942513002: Allow banners to trigger on sites which don't register a service worker onload. (Closed)
Patch Set: Fix windows compile Created 3 years, 6 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: chrome/test/data/banners/lazy_service_worker_test_page.html
diff --git a/chrome/test/data/banners/lazy_service_worker_test_page.html b/chrome/test/data/banners/lazy_service_worker_test_page.html
new file mode 100644
index 0000000000000000000000000000000000000000..d17b5049ea2d8d5b2f3c97b77aa447c62c4f9e54
--- /dev/null
+++ b/chrome/test/data/banners/lazy_service_worker_test_page.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <title>Web app banner test page</title>
+ <script src="main.js"></script>
+ <script>
+ // If a "manifest=/path/to/manifest.json" query argument is provided to
+ // the URL accessing this page, that path is injected as the manifest tag.
+ // Otherwise, "manifest.json" is used as the manifest tag.
+ addManifestLinkTag();
+ </script>
+ </head>
+ <body onload="setTimeout(initialize, 300)">
+ Do-nothing page with a late-loaded service worker.
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698