How to disable service worker in headless?

已查看 364 次
跳至第一个未读帖子

Brian Cardarella

未读,
2017年10月14日 16:38:052017/10/14
收件人 Chromium-dev
Is there an flag to pass that would disable service workers from command line?

Brian Cardarella

未读,
2017年10月14日 16:40:202017/10/14
收件人 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

未读,
2017年10月16日 00:09:172017/10/16
收件人 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.

回复全部
回复作者
转发
0 个新帖子