Name Description Size
manifest.toml 88
service_worker_utils.py let swm = Cc["@mozilla.org/serviceworkers/manager;1"].getService( Ci.nsIServiceWorkerManager ); let ssm = Services.scriptSecurityManager; let principal = ssm.createContentPrincipalFromOrigin(arguments[0]); let serviceWorkers = swm.getAllRegistrations(); for (let i = 0; i < serviceWorkers.length; i++) { let sw = serviceWorkers.queryElementAt( i, Ci.nsIServiceWorkerRegistrationInfo ); if (sw.principal.origin == principal.origin) { return true; } } return false; 2527
test_service_workers_at_startup.py 1113
test_service_workers_disabled.py 1266