I want to subscribe/ unsubscribe to a service worker to get Chrome GCM Notifications on web through an iframe.
I have a working prototype which works fine while opening it directly on the browser and also from window.open javascript pop up.
But it gives a permission denied error while loading it from an iframe.
What could be wrong here and yes my origin is an http and iframe URL is https. Why cant an iframe subscribe to notifications.