-
Notifications
You must be signed in to change notification settings - Fork 17
/
ambient-light.json
211 lines (211 loc) · 8.15 KB
/
ambient-light.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"dom-ambientlightsensor-ambientlightsensor": [
{
"engines": [
"blink"
],
"needsflag": [
"blink"
],
"filename": "api/AmbientLightSensor.json",
"name": "AmbientLightSensor",
"slug": "API/AmbientLightSensor/AmbientLightSensor",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor/AmbientLightSensor",
"summary": "The AmbientLightSensor() constructor creates a new AmbientLightSensor object, which returns the current light level or illuminance of the ambient light around the hosting device.",
"support": {
"chrome": {
"version_added": "56",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
}
},
"title": "AmbientLightSensor: AmbientLightSensor() constructor"
}
],
"ambient-light-sensor-reading-attribute": [
{
"engines": [
"blink"
],
"needsflag": [
"blink"
],
"filename": "api/AmbientLightSensor.json",
"name": "illuminance",
"slug": "API/AmbientLightSensor/illuminance",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor/illuminance",
"summary": "The illuminance property of the AmbientLightSensor interface returns the current light level in lux of the ambient light level around the hosting device.",
"support": {
"chrome": {
"version_added": "56",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
],
"notes": "In Chrome 79, this method stopped returning floats and returned integers to avoid fingerprinting."
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
],
"notes": "In Chrome 79, this method stopped returning floats and returned integers to avoid fingerprinting."
}
},
"title": "AmbientLightSensor: illuminance property"
}
],
"ambient-light-sensor-interface": [
{
"engines": [
"blink"
],
"needsflag": [
"blink"
],
"filename": "api/AmbientLightSensor.json",
"name": "AmbientLightSensor",
"slug": "API/AmbientLightSensor",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/API/AmbientLightSensor",
"summary": "The AmbientLightSensor interface of the Sensor APIs returns the current light level or illuminance of the ambient light around the hosting device.",
"support": {
"chrome": {
"version_added": "56",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79",
"flags": [
{
"type": "preference",
"name": "#enable-experimental-web-platform-features",
"value_to_set": "Enabled"
}
]
}
},
"title": "AmbientLightSensor"
}
],
"ref-for-policy-controlled-feature": [
{
"engines": [
"blink"
],
"filename": "http/headers/Feature-Policy.json",
"name": "ambient-light-sensor",
"slug": "HTTP/Headers/Feature-Policy/ambient-light-sensor",
"mdn_url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy/ambient-light-sensor",
"summary": "The HTTP Permissions-Policy header ambient-light-sensor directive controls whether the current document is allowed to gather information about the amount of light in the environment around the device through the AmbientLightSensor interface.",
"support": {
"chrome": {
"version_added": "67"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": "mirror",
"edge_blink": {
"version_added": "79"
}
},
"title": "Permissions-Policy: ambient-light-sensor"
}
]
}