mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(serviceworker): network inspection works without options.serviceWorkers set (#19870)
This commit is contained in:
parent
6193e6d8ea
commit
59e1437d7f
@ -121,6 +121,6 @@ export class CRServiceWorker extends Worker {
|
||||
}
|
||||
|
||||
private _isNetworkInspectionEnabled(): boolean {
|
||||
return this._browserContext._options.serviceWorkers === 'allow';
|
||||
return this._browserContext._options.serviceWorkers !== 'block';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user