Skip to content

Commit

Permalink
Replace usage of "responsible document"
Browse files Browse the repository at this point in the history
  • Loading branch information
johannhof authored Mar 24, 2022
1 parent 38f59d7 commit f3e6630
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ or not in a specific document, with text similar to this:

> Example:
>
> If the [responsible document](https://html.spec.whatwg.org/multipage/webappapis.html#responsible-document)
> If the [current global object](https://html.spec.whatwg.org/multipage/webappapis.html#current-global-object)'s
> [associated Document](https://html.spec.whatwg.org/multipage/window-object.html#concept-document-window)
> is not [allowed to use](https://html.spec.whatwg.org/multipage/iframe-embed-object.html#allowed-to-use)
> the `sample` feature, then throw a `SecurityError`
> [DOMException](https://heycam.github.io/webidl/#dfn-DOMException) and abort these steps.
Expand Down Expand Up @@ -95,7 +96,7 @@ that policy is required.
> The `document.write` API has existed on the web since roughly the dawn of
> JavaScript, and has no failure modes.
>
> One means of disallowing this feature via Feature Policy would be to declare that
> One means of disallowing this feature via Permissions Policy would be to declare that
> any calls to `document.write()` will silently fail. However, this would mean that
> if a page contained a script like this:
>
Expand Down

0 comments on commit f3e6630

Please sign in to comment.