Skip to content

Commit

Permalink
Switched to "request's URL's origin"
Browse files Browse the repository at this point in the history
  • Loading branch information
xyaoinum committed Apr 18, 2024
1 parent df02011 commit a8ffd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ Moreover, each {{SharedStorageWorklet}}'s [=global scopes|list of global scopes=

1. If |request|'s [=request/destination=] is "sharedstorageworklet":
1. [=Assert=]: |request|'s [=request/client=] is not null.
1. If |request|'s [=request/client=]'s [=environment settings object/origin=] and |request|'s [=request/origin=] are not [=same origin=]:
1. If |request|'s [=request/client=]'s [=environment settings object/origin=] and |request|'s [=request/URL=]'s [=url/origin=] are not [=same origin=]:
1. Let |list| be |actualResponse|'s [=response/header list=].
1. Let |allowed| be the result of running [=get a structured field value=] algorithm given "Shared-Storage-Cross-Origin-Worklet-Allowed", "item", and |list| as input.
1. If |allowed| is false, then return a [=network error=].
Expand Down

0 comments on commit a8ffd6e

Please sign in to comment.