-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.js
210 lines (205 loc) · 5.95 KB
/
test.js
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
const fa = document.getElementById('container')
const lis = Array.from(fa.getElementsByTagName('li'))
const webApi = lis.filter(v => v.dataset.tag && v.dataset.tag.includes('webapi'))
const list = webApi.map(v => v.dataset)
console.log(list.length)
const statusTypes = Array.from(new Set(list.map(v => v.status)))
console.log(JSON.stringify(statusTypes))
const obj = {}
for (const type of statusTypes) {
obj[type] = list.filter(v => v.status === type).map(v => v.title)
}
console.log(JSON.stringify(obj))
const obj2 = {
FPWD: [
"webassembly javascript interface",
"webassembly web api",
"mediastreamtrack insertable media processing using streams",
"editcontext api",
"digital publishing accessibility api mappings 1.1",
"webxr lighting estimation api level 1",
"incremental font transfer",
"webxr dom overlays module",
"secure payment confirmation"
],
WD: [
"webgpu",
"webxr depth sensing module",
"webxr hit test module",
"region capture",
"resource timing level 2",
"screen capture",
"autoplay policy detection",
"reporting api",
"webdriver",
"miniapp lifecycle",
"web neural network api",
"push api",
"pointer events",
"webxr augmented reality module - level 1",
"geolocation sensor",
"web share api",
"navigation timing level 2",
"gamepad",
"battery status api",
"webxr gamepads module - level 1",
"high resolution time",
"ambient light sensor",
"screen wake lock api",
"magnetometer",
"pointer lock 2.0",
"media capture from dom elements",
"device posture api",
"indexed database api 3.0",
"payment handler api",
"virtualkeyboard api",
"the screen orientation api",
"proximity sensor",
"orientation sensor",
"clipboard api and events",
"selection api",
"mediastreamtrack content hints",
"server timing",
"image resource",
"file api",
"mediastream recording",
"mediastream image capture",
"permissions policy",
"input events level 1",
"deviceorientation event specification",
"network error logging",
"mediastream capture scenarios",
"audio processing api"
],
CR: [
"webxr device api",
"user timing",
"performance timeline",
"page visibility level 2",
"webrtc priority control api",
"service workers 1",
"remote playback api",
"ui events keyboardevent code values",
"ui events keyboardevent key values",
"resource timing level 1"
],
CRD: [
"generic sensor api",
"media capture and streams",
"audio output devices api",
"accelerometer",
"gyroscope",
"identifiers for webrtc's statistics api",
"presentation api"
],
PR: [
"geolocation api",
"payment request api",
"cooperative scheduling of background tasks"
],
REC: [
"web audio api",
"web storage (second edition)",
"server-sent events",
"html5 web messaging",
"webrtc 1.0: real-time communication between browsers",
"json-ld 1.0 processing algorithms and api",
"progress events",
"web notifications",
"webassembly javascript interface",
"high resolution time",
"high resolution time level 2",
"pointer events",
"pointer events",
"user timing",
"user timing level 2",
"widget interface",
"webdriver",
"html media capture",
"indexed database api 2.0",
"encrypted media extensions",
"web cryptography api",
"webidl level 1",
"media source extensions™",
"geolocation api specification 2nd edition",
"pointer lock",
"vibration api (second edition)",
"indexed database api",
"metadata api for media resources 1.0",
"performance timeline",
"page visibility (second edition)",
"touch events",
"navigation timing"
],
DNOTE: [
"strings on the web: language and direction metadata"
],
DISC: [
"media capture depth stream extensions"
],
NOTE: [
"worklets level 1",
"audio eq cookbook",
"web workers",
"the websocket api",
"motion sensors explainer",
"geolocation api specification level 2",
"findtext api",
"network service discovery",
"url",
"streams api",
"xmlhttprequest level 1",
"iso bmff byte stream format",
"mpeg-2 ts byte stream format",
"mpeg audio byte stream format",
"media source extensions byte stream format registry",
"webm byte stream format",
"encrypted media extensions stream format registry",
"webm stream format",
"\"cenc\" initialization data format",
"\"keyids\" initialization data format",
"encrypted media extensions initialization data format registry",
"iso common encryption ('cenc') protection scheme for iso base media file format stream format",
"\"webm\" initialization data format",
"frame timing",
"input method editor api",
"quota management api",
"timing control for script-based animations",
"runtime and security model for web applications",
"tcp and udp socket api",
"the app: url scheme",
"task scheduler api specification",
"permissions for device api access",
"web nfc api",
"contacts manager api",
"web telephony api",
"messaging api",
"fullscreen",
"wake lock: use cases",
"file api: directories and system",
"file api: writer",
"the network information api",
"review of apps that use network information",
"calendar api",
"pick media intent",
"pick contacts intent",
"web intents addendum - local services",
"the system information api",
"the messaging api",
"touch events extensions",
"selectors api level 2",
"web intents",
"web audio processing: use cases and requirements",
"web api design cookbook",
"rdf api",
"rdfa api",
"rdf interfaces",
"web application privacy best practices",
"mediastream processing api",
"the media capture api",
"programmable http caching and serving",
"web sql database",
"device apis requirements",
"offline web applications"
]
}