WebPagetest Forums
Desktop Service Worker being fetched - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Desktop Service Worker being fetched (/showthread.php?tid=15859)



Desktop Service Worker being fetched - parveen.arora - 08-07-2019 09:30 PM

Hi,

While running tests, we are getting service worker of desktop. We are differentiating the requests based on User agent.
Service worker name for both desktop and mobile are same but code for them is different.
I tried adding user-agent but still the user agent is this for service worker.
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87

Can be done here?