Skip to content

Commit

Permalink
Upstream IDL change from Trusted Types
Browse files Browse the repository at this point in the history
Changes register to take a ScriptURLString rather than a USVString
  • Loading branch information
lukewarlow committed Mar 13, 2024
1 parent 613f5a2 commit c1a974d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
readonly attribute ServiceWorker? controller;
readonly attribute Promise<ServiceWorkerRegistration> ready;

[NewObject] Promise<ServiceWorkerRegistration> register(USVString scriptURL, optional RegistrationOptions options = {});
[NewObject] Promise<ServiceWorkerRegistration> register(ScriptURLString scriptURL, optional RegistrationOptions options = {});

[NewObject] Promise<(ServiceWorkerRegistration or undefined)> getRegistration(optional USVString clientURL = "");
[NewObject] Promise<FrozenArray<ServiceWorkerRegistration>> getRegistrations();
Expand Down

0 comments on commit c1a974d

Please sign in to comment.