Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -682,10 +682,10 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/
/ <a>nonce-source</a> / <a>hash-source</a>

; Schemes: "https:" / "custom-scheme:" / "another.custom-scheme:"
<dfn>scheme-source</dfn> = <a>scheme-part</a> ":"
<dfn export>scheme-source</dfn> = <a>scheme-part</a> ":"

; Hosts: "example.com" / "*.example.com" / "https://*.example.com:12/path/to/file.js"
<dfn>host-source</dfn> = [ <a>scheme-part</a> "://" ] <a>host-part</a> [ ":" <a>port-part</a> ] [ <a>path-part</a> ]
<dfn export>host-source</dfn> = [ <a>scheme-part</a> "://" ] <a>host-part</a> [ ":" <a>port-part</a> ] [ <a>path-part</a> ]
<dfn>scheme-part</dfn> = <a>scheme</a>
; <a>scheme</a> is defined in section 3.1 of RFC 3986.
<dfn>host-part</dfn> = "*" / [ "*." ] 1*<a>host-char</a> *( "." 1*<a>host-char</a> )
Expand Down Expand Up @@ -3861,7 +3861,7 @@ this algorithm returns normally if compilation is allowed, and throws a

5. Return "`Does Not Match`".

<h5 id="match-url-to-source-expression" algorithm>
<h5 id="match-url-to-source-expression" algorithm dfn export>
Does |url| match |expression| in |origin| with |redirect count|?
</h5>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect we want to refactor this for what Permissions Policy wants to do (see issue I filed against Permissions Policy), but I guess that can be a follow-up.


Expand Down