How to disable service worker in headless?

356 views
Skip to first unread message

Brian Cardarella

unread,
Oct 14, 2017, 4:38:05 PM10/14/17
to Chromium-dev
Is there an flag to pass that would disable service workers from command line?

Brian Cardarella

unread,
Oct 14, 2017, 4:40:20 PM10/14/17
to Chromium-dev
I'm aware that disabling cookies disables service workers, but I do not see a flag to disable cookies either from command line

Matt Falkenhagen

unread,
Oct 16, 2017, 12:09:17 AM10/16/17
to br...@dockyard.com, headle...@chromium.org
-chromium-dev, +headless-dev

You're correct that disabling cookies through Content Settings (chrome://settings/content/cookies) is the supported way of disabling service workers in Chrome (disabilng JavaScript also works). For headless, these issues may be relevant:
https://bugs.chromium.org/p/chromium/issues/detail?id=617931

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/6694073f-65a9-4c88-8679-c7a37afd944c%40chromium.org.

Reply all
Reply to author
Forward
0 new messages