none
Issue - Registration of service worker in microsoft edge RRS feed

  • Question

  • Hi guys,

    I am facing issue to register service worker in microsoft edge, while it successfully registered on other browser. It also unable to register service worker for other websites as well. Can you please suggest me window or edge settings, so i can allow it to register service worker.

    I used below code to register service worker:

    navigator.serviceWorker.register('/lp_sw.js').then(function (reg) { console.log('[SW] Service worker has been registered'); }, function (e) { console.error(e); });

    Error i got for this is: "InvalidArgument"

    ----------------------------------------------------------------------

    It will be really heplful for us.

    Thanks

     

    Thursday, May 16, 2019 2:39 PM

Answers