You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Security.setIgnoreCertificateErrors CDP method is called for browser context based on the capabilities. It is required for service workers to respect the capability.
When a new user context is created with a custom acceptInsecureCerts param, the Security.setIgnoreCertificateErrors is called for each page target, which leaves service workers aside.
The logic in merging the Security.setIgnoreCertificateErrors behavior between browser and page targets is "OR", meaning if it is set with "ignore: true" for the browser or page target, the ssl errors will be ignored.
This makes it possible to implement only 2 of the 3 following options:
Respect acceptInsecureCerts capability in service workers.
Respect acceptInsecureCerts: true capability in service workers.
Respect acceptInsecureCerts: false user context's param.