Skip to content

Commit

Permalink
Use document rather than frame in inejct a content script algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverdunk committed Oct 18, 2024
1 parent 1963f22 commit 5d5c86d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ To determine the URL to use for a document when injecting a content script:

Issue: If the same extension specifies the same script twice, what should happen? ([bug](https://crbug.com/324096753))

To determine if a content script should be injected in a frame:
To determine if a content script should be injected in a document:

1. Let |url| be the result of running [[#determine-the-url-for-content-script-matching]].
1. If the extension does not have access to the origin, return.
Expand Down

0 comments on commit 5d5c86d

Please sign in to comment.