Skip to content

Commit

Permalink
Editorial: use associated Document
Browse files Browse the repository at this point in the history
Use associated Document in place of responsible document,
because the latter concept was removed. cf. whatwg/html#7694
  • Loading branch information
rsolomakhin authored Mar 18, 2022
1 parent e712065 commit f33b976
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 @@ -217,7 +217,7 @@ is usually a [=url-based payment method identifier=].
<dfn method for="Window">getDigitalGoodsService(|serviceProvider|)</dfn>
method is called, run the following steps:

1. Let |document| be the [=current settings object=]'s [=environment settings object/responsible document=].
1. Let |document| be the [=current settings object=]'s [=relevant global object=]'s [=associated `Document`=].
1. If |document| is not [=Document/fully active=], then return [=a promise rejected with=] an {{"InvalidStateError"}} {{DOMException}}.
1. If |document|'s [=origin=] is not [=same origin=] with the [=environment/top-level origin=] return [=a promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
1. If |document| is not [=allowed to use=] the "[=payment=]" permission return [=a promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
Expand Down

0 comments on commit f33b976

Please sign in to comment.