From d9fef94658e1ec3f523ceae110293e7b6a80310d Mon Sep 17 00:00:00 2001 From: Yoshisato Yanagisawa Date: Fri, 10 Feb 2023 04:34:35 +0000 Subject: [PATCH] Prohibit ServiceWorker event handler update after the initialization. --- dom.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dom.bs b/dom.bs index afa20726..8135bdd6 100644 --- a/dom.bs +++ b/dom.bs @@ -1121,8 +1121,7 @@ participate in a tree structure.

script resource's has ever been evaluated flag is set, and listener's type matches the {{Event/type}} attribute value of any of the - service worker events, then report a warning to the console that this might not give - the expected results. [[!SERVICE-WORKERS]] + service worker events, then throws INVALID_MODIFICATION_ERROR exception. [[!SERVICE-WORKERS]]
  • If listener's signal is not null and is [=AbortSignal/aborted=], then return.