Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 74d4e38

Browse filesBrowse files
timkuijstentargos
authored andcommitted
doc: fix some policy scope typos
PR-URL: #51234 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e0789fb commit 74d4e38
Copy full SHA for 74d4e38

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Open diff view settings
Collapse file

‎doc/api/permissions.md‎

Copy file name to clipboardExpand all lines: doc/api/permissions.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ different strings to point to the same module (such as excluding the extension).
178178

179179
Specifier strings are canonicalized but not resolved prior to be used for
180180
matching in order to have some compatibility with import maps, for example if a
181-
resource `file:///C:/app/server.js` was given the following redirection from a
181+
resource `file:///C:/app/utils.js` was given the following redirection from a
182182
policy located at `file:///C:/app/policy.json`:
183183

184184
```json
@@ -303,15 +303,15 @@ delegate to the next relevant scope for `file:///C:/app/bin/main.js`, `"file:"`.
303303

304304
This determines the policy for all file based resources within `"file:///C:/"`.
305305
This is not in the `"scopes"` field of the policy and would be skipped. It would
306-
not be used for `file:///C:/app/bin/main.js` unless `"file:///"` is set to
307-
cascade or is not in the `"scopes"` of the policy.
306+
not be used for `file:///C:/app/bin/main.js` unless `"file:///C:/app/"` is set
307+
to cascade or is not in the `"scopes"` of the policy.
308308

309309
4. `"file:///"`
310310

311311
This determines the policy for all file based resources on the `localhost`. This
312312
is not in the `"scopes"` field of the policy and would be skipped. It would not
313-
be used for `file:///C:/app/bin/main.js` unless `"file:///"` is set to cascade
314-
or is not in the `"scopes"` of the policy.
313+
be used for `file:///C:/app/bin/main.js` unless `"file:///C:/"` is set to
314+
cascade or is not in the `"scopes"` of the policy.
315315

316316
5. `"file:"`
317317

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.