Make ServiceWorker.terminate() and ServiceWorkerGlobalScope.close() throw