Re: [w3c/payment-handler] HEAD request for supportedMethods not getting triggered (#286)

navigator.serviceWorker.ready was not resolving after SW activation. We moved the sw.js to the root folder and changed the registration line like this -

navigator.serviceWorker.register('sw.js').then(() => {

Now we are able to resolve navigator.serviceWorker.ready and move fwd

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/286#issuecomment-380869510

Received on Thursday, 12 April 2018 16:41:14 UTC