<div dir="ltr">Hi,<div><br></div><div style>looking at the &quot;unifiedpush&quot; JavaScript sources, I see assumptions on the (unified)pushServerURL in [1] and [2].</div><div style><br></div><div style>Since there is a zero chance that a SimplePush-enabled &quot;Web App&quot; will be served from the UnifiedPush Server, IMO we should remove the default and add a JS check if the (unified)pushServerURL has been configured.</div>
<div style><br></div><div style>However, I am not 100% sure if that effects the &quot;original&quot; (aka native) JavaScript SimplePush API that Mozilla is working on.</div><div style><br></div><div style>Yes, I know this is all early and focus was never on this. I just noticed it, and therefore raising the question now. So that we can at least think about it :-)</div>
<div style><br></div><div style>Greetings,</div><div style>Matthias</div><div style><br></div><div style><br></div><div>[1] <a href="https://github.com/aerogear/aerogear-js/blob/Notifier/src/unified-push/aerogear.unifiedpush.js#L32">https://github.com/aerogear/aerogear-js/blob/Notifier/src/unified-push/aerogear.unifiedpush.js#L32</a><br>
</div><div>[2] <a href="https://github.com/aerogear/aerogear-js/blob/Notifier/src/unified-push/aerogear.unifiedpush.js#L55">https://github.com/aerogear/aerogear-js/blob/Notifier/src/unified-push/aerogear.unifiedpush.js#L55</a></div>
<div><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div></div>