Skip to content

Commit

Permalink
allowed to use
Browse files Browse the repository at this point in the history
  • Loading branch information
linnan-github committed Jun 21, 2023
1 parent 0fcaee5 commit c250899
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ spec: idl; type: dfn; urlPrefix: https://webidl.spec.whatwg.org/
text: throw; url: #dfn-throw
spec: uuid; type: dfn; urlPrefix: https://wicg.github.io/uuid/
text: generate a random UUID; url: #dfn-generate-a-random-uuid
spec: permissions-policy; type: dfn; urlPrefix: https://w3c.github.io/webappsec-permissions-policy/
text: is feature enabled; url: #algo-is-feature-enabled
urlPrefix: https://wicg.github.io/fenced-frame/; type: interface
text: Fence
</pre>
Expand Down Expand Up @@ -541,8 +539,8 @@ After the step
add the steps

<div algorithm="report-an-event-monkeypatch">
1. Let <var ignore>attributionReportingEnabled</var> be the result of determining whether the
"`attribution-reporting`" feature [=is feature enabled|is enabled=] in |document| with |document|'s [=origin=].
1. Let <var ignore>attributionReportingEnabled</var> be the result of determining whether |document| is
[=allowed to use=] the "<code>[=attribution-reporting=]</code>" feature.
1. Let <var ignore>contextOrigin</var> be |document|'s [=node/context origin=].

</div>
Expand Down Expand Up @@ -1445,8 +1443,7 @@ To <dfn>make a background attributionsrc request</dfn> given a [=URL=] |url|, an
1. If |contextOrigin| is not [=check if an origin is suitable|suitable=], return.
1. Let |context| be |document|'s [=relevant settings object=].
1. If |context| is not a [=secure context=], return.
1. If the "<code>[=attribution-reporting=]</code>" feature is not [=is feature enabled|enabled=]
in |document| with |document|'s [=url/origin=], return.
1. If |document| is not [=allowed to use=] the "<code>[=attribution-reporting=]</code>" feature, return.
1. Let |supportedRegistrars| be the result of [=getting supported registrars=].
1. If |supportedRegistrars| [=list/is empty=], return.
1. Let |request| be a new [=request=] with the following properties:
Expand Down

0 comments on commit c250899

Please sign in to comment.