- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Mon, 03 Nov 2025 06:10:44 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/ServiceWorker/issues/1801/3480756353@github.com>
yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1801) Current ServiceWorker specification is like: In > 3.4.3. [register(scriptURL, options)](https://w3c.github.io/ServiceWorker/#dom-serviceworkercontainer-register) > Set scriptURL to the result of invoking [Get Trusted Type compliant string](https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-get-trusted-type-compliant-string) with [TrustedScriptURL](https://w3c.github.io/trusted-types/dist/spec/#trustedscripturl), [this](https://webidl.spec.whatwg.org/#this)’s [relevant global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-relevant-global), scriptURL, "ServiceWorkerContainer register", and "script". I assume it points the https://w3c.github.io/trusted-types/dist/spec/#get-trusted-type-compliant-string. > To get trusted type compliant string a [TrustedType](https://w3c.github.io/trusted-types/dist/spec/#typedefdef-trustedtype) type (expectedType), a [global object](https://html.spec.whatwg.org/multipage/webappapis.html#concept-realm-global) (global), [TrustedType](https://w3c.github.io/trusted-types/dist/spec/#typedefdef-trustedtype) or a string (input), a string (sink) and a string (sinkGroup), run these steps: -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1801#issuecomment-3480756353 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1801/3480756353@github.com>
Received on Monday, 3 November 2025 14:10:47 UTC