Skip to content

Commit

Permalink
Spec: fix missing queryFeatureSupport values, and refactor it (WICG#1173
Browse files Browse the repository at this point in the history
)

* Spec: implement queryFeatureSupport('*')

...and a couple of other inputs that seem to be missing
from the spec when their matching features seem to be in.

* Drop queryFeatureSupport('*') code for now.

* Add missing plurals

---------

Co-authored-by: Maks Orlovich <[email protected]>
  • Loading branch information
morlovich and Maks Orlovich authored May 16, 2024
1 parent ddbddab commit c69e08c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4322,8 +4322,16 @@ interface ProtectedAudience {
<div algorithm>

The <dfn for=ProtectedAudience method>queryFeatureSupport(feature)</dfn> method steps are:
1. If feature is "adComponentsLimit", return 40.
2. Return `undefined`.
1. Let |featuresTable| be an [=ordered map=] whose keys are {{DOMString}}s and whose values are
{{boolean}}s or {{long}}s, with the following entries:
: "adComponentsLimit"
:: 40
: "deprecatedRenderURLReplacements"
:: true
: "reportingTimeout"
:: true
1. If |featuresTable|[|feature|] [=map/exists=], then return |featuresTable|[|feature|].
1. Return `undefined`.

</div>

Expand Down

0 comments on commit c69e08c

Please sign in to comment.