DescriptionExtension SW - add basic push messaging tests.
This test checks that self.onpush() works correctly from an
extension ServiceWorker when a gcm message is sent.
Caveat:
PushMessagingDispatcher::DoSubscribe() only looks at the web
manifest, so we list the manifest in the extension page
(page.html). However, this also means we cannot use
PushMessaging from a service worker of a background page.
BUG=545535
Committed: https://crrev.com/561b7deff9073356ef8e4ed7238b5c7962f022dd
Cr-Commit-Position: refs/heads/master@{#360640}
Patch Set 1 #Patch Set 2 : Clean up. #Patch Set 3 : more cleanups #Patch Set 4 : git cl format #Patch Set 5 : forgot ot add web_manifest #
Total comments: 4
Patch Set 6 : update #Patch Set 7 : sync @ tott #
Messages
Total messages: 17 (8 generated)
|