-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.ts
194 lines (132 loc) · 4.48 KB
/
test.ts
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
// import css from "sdlkfjasdf.css" assert { type: "css" };
// / <reference no-default-lib="true" />
/// <reference lib="ESNext" />
/// <reference lib="DOM" />
/// <reference lib="DOM.Iterable" />
// / <reference path="./worker.d.ts" />
/// <reference path="./index.d.ts" />
// / <reference path="./worklet/paint.d.ts" />
// / <reference path="./worklet/layout.d.ts" />
// / <reference path="./worklet/audio.d.ts" />
Object.fromEntries
Map.toString
Promise.allSettled
ArrayBuffer.prototype
Object.groupBy
const observer = new FileSystemObserver((changes) => {
})
observer.observe
SharedArrayBuffer.prototype
// import("./package.json", {
// with: {
// type: "json"
// }
// })
let buffer = new ArrayBuffer(5)
buffer.resize(10)
let sab = new SharedArrayBuffer(10)
sab.growable && sab.grow(20)
"".charCodeAt(0)
"".toWellFormed()
"".isWellFormed()
;[].toReversed
;[].toSorted
;[].toSpliced
;[].with
Uint8Array.prototype.toReversed
Uint8Array.prototype.toSorted
Uint8Array.prototype.with
new Promise<void>((res, rej) => {
res()
})
navigator.permissions.query({ name: "geolocation" })
navigator.permissions.query({ name: "web-share" })
navigator.permissions.request({ name: "geolocation" })
navigator.permissions.request({ name: "web-share" })
navigator.permissions.requestAll([{ name: "geolocation" }])
navigator.permissions.requestAll([{ name: "web-share" }])
navigator.permissions.revoke({ name: "geolocation" })
navigator.permissions.revoke({ name: "web-share" })
let { promise, resolve, reject } = Promise.withResolvers();
{
let { promise, resolve, reject } = Promise.withResolvers<number>();
}
CSS.lvmin
CSS.in
CSS.vi
StylePropertyMapReadOnly
let a: CSSUnparsedSegment
CSSMathSum
new DecompressionStream("deflate-raw");
window.DeviceMotionEvent.requestPermission();
const detector = new TextDetector();
detector.detect;
BarcodeDetector.getSupportedFormats();
cookieStore
// window.cookieStore
TextDetector.name;
Int8Array.prototype.sort;
const alsjdf: ReadonlyArray<number> = [];
alsjdf.slice;
self.ononline
globalThis.ononline
IdleDetector
window.IdleDetector
navigator.permissions.query({
name: "local-fonts"
})
Object.groupBy;
import.meta.url
import.meta.resolve
// const alsjdf = Object.freeze([3]);
// registerLayout
// const dir = await navigator.storage.getDirectory();
// for await (const item of dir) {
// (item as unknown as FileSystemFileHandle).createSyncAccessHandle()
// }
// registerProcessor("test", class {
// static get parameterDescriptors() {
// return [];
// };
// process(inputs: Float32Array[][], outputs, parameters) {
// return true;
// }
// })
export { };
// self.addEventListener("fetch", (event) => {
// event.respondWith;
// });
// addEventListener("fetch", (event) => {
// event.respondWith;
// });
// globalThis.addEventListener("fetch", (event) => {
// event.respondWith;
// });
// document.querySelector
// const test20 = document.querySelector("q.c[a]:p.c[a]");
// const test21 = document.querySelector("q[a]#i#i:p.c");
// const test22 = document.querySelector("q#i.c[a][a]");
// const test23 = document.querySelector("q:p#i:p#i");
// const test24 = document.querySelector("q");
// const test25 = document.querySelector("q.c");
// const test26 = document.querySelector("q.c#i");
// const test27 = document.querySelector("q#i.c");
// const test28 = document.querySelector("math#i.c");
// const test29 = document.querySelector("munderover.c#i");
// const test1 = document.querySelector("html body > div ~ a * + portal.basdf.asdfasdf:has(b)");
// const test2 = document.querySelector("b:hover");
// const test3 = document.querySelector("ul[class^=a].b");
// const test4 = document.querySelector("div#no");
// const test5 = document.querySelector("input.basdf.asdfasdf");
// const test6 = document.querySelector("canvas.basdf.asdfasdf");
// const test7 = document.querySelector("body.basdf.asdfasdf");
// const test8 = document.querySelector("x.b:hover");
// const test9 = document.querySelector(":scope > input[type=radio][name=test].aa:nth-of-type(even)");
// const test30 = document.querySelector("a.askdjf.lsdjf")
// const test31 = document.querySelector("portal:hover")
// const test32 = document.querySelector("a.b:hover")
// const test33 = document.querySelector("html body > div ~ a * + portal.basdf.asdfasdf:has(b), canvas")
// const test34 = document.querySelector("body a")
// const a = document.createElementNS("http://www.w3.org/1998/Math/MathML", "munderover")
// const b = document.querySelectorAll("a.b");
// const c = [...document.querySelectorAll("a.b")];