@@ -79,10 +79,6 @@ urlPrefix: https://www.w3.org/TR/page-visibility-2/; spec: PAGE-VISIBILITY
79
79
urlPrefix: https://w3ctag.github.io/security-questionnaire/; spec: SECURITY-PRIVACY-QUESTIONNAIRE
80
80
type: dfn
81
81
text: same-origin policy violations; url: sop-violations
82
- urlPrefix: https://www.w3.org/TR/permissions/; spec: PERMISSIONS
83
- type: dfn
84
- text: name; url: dfn-name
85
- text: permission state
86
82
urlPrefix: https://w3c.github.io/webdriver/; spec: WebDriver
87
83
type: dfn
88
84
text: current browsing context; url: dfn-current-browsing-context
@@ -792,7 +788,7 @@ The user agent must verify that all [=mandatory conditions=] are satisfied to en
792
788
793
789
The <dfn>mandatory conditions</dfn> are the following:
794
790
- The given document is a [=responsible document=] of a [=secure context=] .
795
- - For each [=name=] from the [=sensor type=] 's associated
791
+ - For each [=powerful feature/ name=] from the [=sensor type=] 's associated
796
792
[=sensor permission names=] [=ordered set|set=] , the corresponding permission's
797
793
[=permission state|state=] is "granted".
798
794
- [=document visibility state|Visibility state=] of the document is "visible".
@@ -819,17 +815,17 @@ A [=sensor type=] has a [=ordered set|set=] of <dfn export>associated sensors</d
819
815
A [=sensor type=] may have a [=default sensor=] .
820
816
821
817
A [=sensor type=] has a [=set/is empty|nonempty=] [=ordered set|set=] of associated
822
- [=names=] referred to as <dfn export>sensor permission names</dfn> .
818
+ [=powerful feature/ names=] referred to as <dfn export>sensor permission names</dfn> .
823
819
824
- Note: multiple [=sensor types=] may share the same [=name=] .
820
+ Note: multiple [=sensor types=] may share the same [=powerful feature/ name=] .
825
821
826
822
A [=sensor type=] has a [=permission revocation algorithm=] .
827
823
828
824
<div algorithm>
829
825
830
826
To invoke the <dfn local-lt="permission revocation algorithm" export>
831
827
generic sensor permission revocation algorithm</dfn>
832
- with [=name=] |permission_name|, run the following steps:
828
+ with [=powerful feature/ name=] |permission_name|, run the following steps:
833
829
834
830
1. For each |sensor_type| whose [=sensor permission names|permission names=] [=set/contains=] |permission_name|:
835
831
1. [=set/For each=] |sensor| in |sensor_type|'s [=ordered set|set=] of [=associated sensors=] ,
@@ -2068,8 +2064,8 @@ each [=sensor type=] in [=extension specifications=]:
2068
2064
[=get value from latest reading=] with <strong> this</strong> and
2069
2065
[=attribute=] [=identifier=] as arguments.
2070
2066
2071
- - A [=name=] , if the [=sensor type=] is not representing
2072
- [=sensor fusion=] (otherwise, [=names=]
2067
+ - A [=powerful feature/ name=] , if the [=sensor type=] is not representing
2068
+ [=sensor fusion=] (otherwise, [=powerful feature/ names=]
2073
2069
associated with the fusion source [=sensor types=] must be used).
2074
2070
2075
2071
An [=extension specification=] may specify the following definitions
@@ -2096,8 +2092,8 @@ In order to enable user-agent automation and application testing,
2096
2092
<h3 id="permission-api">Extending the Permission API</h3>
2097
2093
2098
2094
An implementation of the {{Sensor}} interface for each [=sensor type=] must protect its
2099
- [=sensor reading|reading=] by associated [=name=] or {{PermissionDescriptor}} .
2100
- A [=Low-level=] {{Sensor|sensor}} may use its interface name as a [=name=] ,
2095
+ [=sensor reading|reading=] by associated [=powerful feature/ name=] or {{PermissionDescriptor}} .
2096
+ A [=Low-level=] {{Sensor|sensor}} may use its interface name as a [=powerful feature/ name=] ,
2101
2097
for instance, "gyroscope" or "accelerometer". [=sensor fusion|Fusion sensors=] must
2102
2098
[=request permission to use|request permission to access=] each of the sensors that are
2103
2099
used as a source of fusion.
0 commit comments