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

Unified Diff: chrome/test/data/extensions/api_test/service_worker/push_messaging/page.html

Issue 1440873004: Extension SW - add basic push messaging tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync @ tott Created 5 years, 1 month 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/extensions/api_test/service_worker/push_messaging/page.html
diff --git a/chrome/test/data/extensions/api_test/service_worker/push_messaging/page.html b/chrome/test/data/extensions/api_test/service_worker/push_messaging/page.html
new file mode 100644
index 0000000000000000000000000000000000000000..8a953bdbde3eaa7084d5447368d7afad0f5a6485
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/service_worker/push_messaging/page.html
@@ -0,0 +1,12 @@
+<!--
+ // Note that PushMessagingDispatcher::DoSubscribe() only looks at the web
+ // manifest, so we list the manifest here.
+ // However, this also means we cannot use PushMessaging from a service
+ // worker which does not have an associated HTML page
+ // (_generated_background_page.html).
+ //
+ // TODO(lazyboy): We should probably look into improving this:
+ // http://crbug.com/558173.
+-->
+<link rel="manifest" href="web_manifest.json">
+<script src="page.js"></script>

Powered by Google App Engine
This is Rietveld 408576698