@pezkuwi/dev-test 0.85.0 → 0.85.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/browser.d.ts +1 -0
- package/browser.js +2 -0
- package/cjs/browser.d.ts +1 -0
- package/cjs/browser.js +4 -0
- package/cjs/detectOther.d.ts +2 -0
- package/cjs/detectOther.js +3 -0
- package/cjs/env/browser.d.ts +313 -0
- package/cjs/env/browser.js +98 -0
- package/cjs/env/expect.d.ts +297 -0
- package/cjs/env/expect.js +213 -0
- package/cjs/env/index.d.ts +4 -0
- package/cjs/env/index.js +20 -0
- package/cjs/env/jest.d.ts +127 -0
- package/cjs/env/jest.js +56 -0
- package/cjs/env/lifecycle.d.ts +12 -0
- package/cjs/env/lifecycle.js +17 -0
- package/cjs/env/suite.d.ts +16 -0
- package/cjs/env/suite.js +35 -0
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +1 -0
- package/cjs/node.d.ts +1 -0
- package/cjs/node.js +4 -0
- package/cjs/package.json +3 -0
- package/cjs/packageInfo.d.ts +6 -0
- package/cjs/packageInfo.js +4 -0
- package/cjs/root.d.ts +2 -0
- package/cjs/root.js +6 -0
- package/cjs/rootJs/Clazz.d.ts +18 -0
- package/cjs/rootJs/Clazz.js +36 -0
- package/cjs/rootJs/Jsx.d.ts +5 -0
- package/cjs/rootJs/Jsx.js +16 -0
- package/cjs/rootJs/JsxChild.d.ts +9 -0
- package/cjs/rootJs/JsxChild.js +9 -0
- package/cjs/rootJs/augmented.d.ts +8 -0
- package/cjs/rootJs/augmented.js +3 -0
- package/cjs/rootJs/index.d.ts +19 -0
- package/cjs/rootJs/index.js +51 -0
- package/cjs/rootTests.d.ts +2 -0
- package/cjs/rootTests.js +44 -0
- package/cjs/sample.d.ts +1 -0
- package/cjs/sample.js +4 -0
- package/cjs/types.d.ts +15 -0
- package/cjs/types.js +2 -0
- package/cjs/util.d.ts +20 -0
- package/cjs/util.js +51 -0
- package/config/eslint.js +160 -0
- package/config/eslint.rules.js +214 -0
- package/config/prettier.cjs +22 -0
- package/config/rollup.js +113 -0
- package/config/tsconfig.json +32 -0
- package/config/typedoc.cjs +18 -0
- package/detectOther.d.ts +2 -0
- package/detectOther.js +1 -0
- package/env/browser.d.ts +313 -0
- package/env/browser.js +95 -0
- package/env/expect.d.ts +297 -0
- package/env/expect.js +210 -0
- package/env/index.d.ts +4 -0
- package/env/index.js +17 -0
- package/env/jest.d.ts +127 -0
- package/env/jest.js +53 -0
- package/env/lifecycle.d.ts +12 -0
- package/env/lifecycle.js +14 -0
- package/env/suite.d.ts +16 -0
- package/env/suite.js +32 -0
- package/globals.cjs +4 -0
- package/globals.d.cts +1 -0
- package/globals.d.ts +32 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/node.d.ts +1 -0
- package/node.js +2 -0
- package/package.json +199 -9
- package/packageInfo.d.ts +6 -0
- package/packageInfo.js +1 -0
- package/root.d.ts +2 -0
- package/root.js +2 -0
- package/rootJs/Clazz.d.ts +18 -0
- package/rootJs/Clazz.js +32 -0
- package/rootJs/Jsx.d.ts +5 -0
- package/rootJs/Jsx.js +13 -0
- package/rootJs/JsxChild.d.ts +9 -0
- package/rootJs/JsxChild.js +6 -0
- package/rootJs/augmented.d.ts +8 -0
- package/rootJs/augmented.js +2 -0
- package/rootJs/dynamic.d.mts +8 -0
- package/rootJs/dynamic.mjs +13 -0
- package/rootJs/index.d.ts +19 -0
- package/rootJs/index.js +39 -0
- package/rootJs/testJson.json +5 -0
- package/rootStatic/zagros.svg +1 -0
- package/rootTests.d.ts +2 -0
- package/rootTests.js +41 -0
- package/scripts/pezkuwi-ci-ghact-build.mjs +536 -0
- package/scripts/pezkuwi-ci-ghact-docs.mjs +14 -0
- package/scripts/pezkuwi-ci-ghpages-force.mjs +43 -0
- package/scripts/pezkuwi-dev-build-docs.mjs +19 -0
- package/scripts/pezkuwi-dev-build-ts.mjs +1518 -0
- package/scripts/pezkuwi-dev-circular.mjs +29 -0
- package/scripts/pezkuwi-dev-clean-build.mjs +61 -0
- package/scripts/pezkuwi-dev-contrib.mjs +74 -0
- package/scripts/pezkuwi-dev-copy-dir.mjs +44 -0
- package/scripts/pezkuwi-dev-copy-to.mjs +53 -0
- package/scripts/pezkuwi-dev-deno-map.mjs +35 -0
- package/scripts/pezkuwi-dev-run-lint.mjs +40 -0
- package/scripts/pezkuwi-dev-run-node-ts.mjs +9 -0
- package/scripts/pezkuwi-dev-run-test.mjs +163 -0
- package/scripts/pezkuwi-dev-version.mjs +143 -0
- package/scripts/pezkuwi-dev-yarn-only.mjs +11 -0
- package/scripts/pezkuwi-exec-eslint.mjs +7 -0
- package/scripts/pezkuwi-exec-ghpages.mjs +11 -0
- package/scripts/pezkuwi-exec-ghrelease.mjs +7 -0
- package/scripts/pezkuwi-exec-node-test.mjs +368 -0
- package/scripts/pezkuwi-exec-rollup.mjs +7 -0
- package/scripts/pezkuwi-exec-tsc.mjs +7 -0
- package/scripts/pezkuwi-exec-webpack.mjs +7 -0
- package/scripts/util.mjs +540 -0
- package/types.d.ts +15 -0
- package/types.js +1 -0
- package/util.d.ts +20 -0
- package/util.js +46 -0
- package/.skip-deno +0 -0
- package/tsconfig.build.json +0 -16
- package/tsconfig.build.tsbuildinfo +0 -1
- package/tsconfig.spec.json +0 -16
- package/tsconfig.spec.tsbuildinfo +0 -1
package/env/browser.d.ts
ADDED
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Export a very basic JSDom environment - this is just enough so we have
|
|
3
|
+
* @testing-environment/react tests passing in this repo
|
|
4
|
+
*
|
|
5
|
+
* FIXME: This approach is actually _explicitly_ discouraged by JSDOM - when
|
|
6
|
+
* using window you should run the tests inside that context, instead of just
|
|
7
|
+
* blindly relying on the globals as we do here
|
|
8
|
+
*/
|
|
9
|
+
export declare function browser(): {
|
|
10
|
+
HTMLAnchorElement: {
|
|
11
|
+
new (): HTMLAnchorElement;
|
|
12
|
+
prototype: HTMLAnchorElement;
|
|
13
|
+
};
|
|
14
|
+
HTMLAreaElement: {
|
|
15
|
+
new (): HTMLAreaElement;
|
|
16
|
+
prototype: HTMLAreaElement;
|
|
17
|
+
};
|
|
18
|
+
HTMLAudioElement: {
|
|
19
|
+
new (): HTMLAudioElement;
|
|
20
|
+
prototype: HTMLAudioElement;
|
|
21
|
+
};
|
|
22
|
+
HTMLBRElement: {
|
|
23
|
+
new (): HTMLBRElement;
|
|
24
|
+
prototype: HTMLBRElement;
|
|
25
|
+
};
|
|
26
|
+
HTMLBaseElement: {
|
|
27
|
+
new (): HTMLBaseElement;
|
|
28
|
+
prototype: HTMLBaseElement;
|
|
29
|
+
};
|
|
30
|
+
HTMLBodyElement: {
|
|
31
|
+
new (): HTMLBodyElement;
|
|
32
|
+
prototype: HTMLBodyElement;
|
|
33
|
+
};
|
|
34
|
+
HTMLButtonElement: {
|
|
35
|
+
new (): HTMLButtonElement;
|
|
36
|
+
prototype: HTMLButtonElement;
|
|
37
|
+
};
|
|
38
|
+
HTMLCanvasElement: {
|
|
39
|
+
new (): HTMLCanvasElement;
|
|
40
|
+
prototype: HTMLCanvasElement;
|
|
41
|
+
};
|
|
42
|
+
HTMLDListElement: {
|
|
43
|
+
new (): HTMLDListElement;
|
|
44
|
+
prototype: HTMLDListElement;
|
|
45
|
+
};
|
|
46
|
+
HTMLDataElement: {
|
|
47
|
+
new (): HTMLDataElement;
|
|
48
|
+
prototype: HTMLDataElement;
|
|
49
|
+
};
|
|
50
|
+
HTMLDataListElement: {
|
|
51
|
+
new (): HTMLDataListElement;
|
|
52
|
+
prototype: HTMLDataListElement;
|
|
53
|
+
};
|
|
54
|
+
HTMLDetailsElement: {
|
|
55
|
+
new (): HTMLDetailsElement;
|
|
56
|
+
prototype: HTMLDetailsElement;
|
|
57
|
+
};
|
|
58
|
+
HTMLDialogElement: {
|
|
59
|
+
new (): HTMLDialogElement;
|
|
60
|
+
readonly prototype: HTMLDialogElement;
|
|
61
|
+
};
|
|
62
|
+
HTMLDirectoryElement: {
|
|
63
|
+
new (): HTMLDirectoryElement;
|
|
64
|
+
prototype: HTMLDirectoryElement;
|
|
65
|
+
};
|
|
66
|
+
HTMLDivElement: {
|
|
67
|
+
new (): HTMLDivElement;
|
|
68
|
+
prototype: HTMLDivElement;
|
|
69
|
+
};
|
|
70
|
+
HTMLElement: {
|
|
71
|
+
new (): HTMLElement;
|
|
72
|
+
prototype: HTMLElement;
|
|
73
|
+
};
|
|
74
|
+
HTMLEmbedElement: {
|
|
75
|
+
new (): HTMLEmbedElement;
|
|
76
|
+
prototype: HTMLEmbedElement;
|
|
77
|
+
};
|
|
78
|
+
HTMLFieldSetElement: {
|
|
79
|
+
new (): HTMLFieldSetElement;
|
|
80
|
+
prototype: HTMLFieldSetElement;
|
|
81
|
+
};
|
|
82
|
+
HTMLFontElement: {
|
|
83
|
+
new (): HTMLFontElement;
|
|
84
|
+
prototype: HTMLFontElement;
|
|
85
|
+
};
|
|
86
|
+
HTMLFormElement: {
|
|
87
|
+
new (): HTMLFormElement;
|
|
88
|
+
prototype: HTMLFormElement;
|
|
89
|
+
};
|
|
90
|
+
HTMLFrameElement: {
|
|
91
|
+
new (): HTMLFrameElement;
|
|
92
|
+
prototype: HTMLFrameElement;
|
|
93
|
+
};
|
|
94
|
+
HTMLFrameSetElement: {
|
|
95
|
+
new (): HTMLFrameSetElement;
|
|
96
|
+
prototype: HTMLFrameSetElement;
|
|
97
|
+
};
|
|
98
|
+
HTMLHRElement: {
|
|
99
|
+
new (): HTMLHRElement;
|
|
100
|
+
prototype: HTMLHRElement;
|
|
101
|
+
};
|
|
102
|
+
HTMLHeadElement: {
|
|
103
|
+
new (): HTMLHeadElement;
|
|
104
|
+
prototype: HTMLHeadElement;
|
|
105
|
+
};
|
|
106
|
+
HTMLHeadingElement: {
|
|
107
|
+
new (): HTMLHeadingElement;
|
|
108
|
+
prototype: HTMLHeadingElement;
|
|
109
|
+
};
|
|
110
|
+
HTMLHtmlElement: {
|
|
111
|
+
new (): HTMLHtmlElement;
|
|
112
|
+
prototype: HTMLHtmlElement;
|
|
113
|
+
};
|
|
114
|
+
HTMLIFrameElement: {
|
|
115
|
+
new (): HTMLIFrameElement;
|
|
116
|
+
prototype: HTMLIFrameElement;
|
|
117
|
+
};
|
|
118
|
+
HTMLImageElement: {
|
|
119
|
+
new (): HTMLImageElement;
|
|
120
|
+
prototype: HTMLImageElement;
|
|
121
|
+
};
|
|
122
|
+
HTMLInputElement: {
|
|
123
|
+
new (): HTMLInputElement;
|
|
124
|
+
prototype: HTMLInputElement;
|
|
125
|
+
};
|
|
126
|
+
HTMLLIElement: {
|
|
127
|
+
new (): HTMLLIElement;
|
|
128
|
+
prototype: HTMLLIElement;
|
|
129
|
+
};
|
|
130
|
+
HTMLLabelElement: {
|
|
131
|
+
new (): HTMLLabelElement;
|
|
132
|
+
prototype: HTMLLabelElement;
|
|
133
|
+
};
|
|
134
|
+
HTMLLegendElement: {
|
|
135
|
+
new (): HTMLLegendElement;
|
|
136
|
+
prototype: HTMLLegendElement;
|
|
137
|
+
};
|
|
138
|
+
HTMLLinkElement: {
|
|
139
|
+
new (): HTMLLinkElement;
|
|
140
|
+
prototype: HTMLLinkElement;
|
|
141
|
+
};
|
|
142
|
+
HTMLMapElement: {
|
|
143
|
+
new (): HTMLMapElement;
|
|
144
|
+
prototype: HTMLMapElement;
|
|
145
|
+
};
|
|
146
|
+
HTMLMarqueeElement: {
|
|
147
|
+
new (): HTMLMarqueeElement;
|
|
148
|
+
prototype: HTMLMarqueeElement;
|
|
149
|
+
};
|
|
150
|
+
HTMLMediaElement: {
|
|
151
|
+
new (): HTMLMediaElement;
|
|
152
|
+
prototype: HTMLMediaElement;
|
|
153
|
+
readonly NETWORK_EMPTY: 0;
|
|
154
|
+
readonly NETWORK_IDLE: 1;
|
|
155
|
+
readonly NETWORK_LOADING: 2;
|
|
156
|
+
readonly NETWORK_NO_SOURCE: 3;
|
|
157
|
+
readonly HAVE_NOTHING: 0;
|
|
158
|
+
readonly HAVE_METADATA: 1;
|
|
159
|
+
readonly HAVE_CURRENT_DATA: 2;
|
|
160
|
+
readonly HAVE_FUTURE_DATA: 3;
|
|
161
|
+
readonly HAVE_ENOUGH_DATA: 4;
|
|
162
|
+
};
|
|
163
|
+
HTMLMenuElement: {
|
|
164
|
+
new (): HTMLMenuElement;
|
|
165
|
+
prototype: HTMLMenuElement;
|
|
166
|
+
};
|
|
167
|
+
HTMLMetaElement: {
|
|
168
|
+
new (): HTMLMetaElement;
|
|
169
|
+
prototype: HTMLMetaElement;
|
|
170
|
+
};
|
|
171
|
+
HTMLMeterElement: {
|
|
172
|
+
new (): HTMLMeterElement;
|
|
173
|
+
prototype: HTMLMeterElement;
|
|
174
|
+
};
|
|
175
|
+
HTMLModElement: {
|
|
176
|
+
new (): HTMLModElement;
|
|
177
|
+
prototype: HTMLModElement;
|
|
178
|
+
};
|
|
179
|
+
HTMLOListElement: {
|
|
180
|
+
new (): HTMLOListElement;
|
|
181
|
+
prototype: HTMLOListElement;
|
|
182
|
+
};
|
|
183
|
+
HTMLObjectElement: {
|
|
184
|
+
new (): HTMLObjectElement;
|
|
185
|
+
prototype: HTMLObjectElement;
|
|
186
|
+
};
|
|
187
|
+
HTMLOptGroupElement: {
|
|
188
|
+
new (): HTMLOptGroupElement;
|
|
189
|
+
prototype: HTMLOptGroupElement;
|
|
190
|
+
};
|
|
191
|
+
HTMLOptionElement: {
|
|
192
|
+
new (): HTMLOptionElement;
|
|
193
|
+
prototype: HTMLOptionElement;
|
|
194
|
+
};
|
|
195
|
+
HTMLOutputElement: {
|
|
196
|
+
new (): HTMLOutputElement;
|
|
197
|
+
prototype: HTMLOutputElement;
|
|
198
|
+
};
|
|
199
|
+
HTMLParagraphElement: {
|
|
200
|
+
new (): HTMLParagraphElement;
|
|
201
|
+
prototype: HTMLParagraphElement;
|
|
202
|
+
};
|
|
203
|
+
HTMLParamElement: {
|
|
204
|
+
new (): HTMLParamElement;
|
|
205
|
+
prototype: HTMLParamElement;
|
|
206
|
+
};
|
|
207
|
+
HTMLPictureElement: {
|
|
208
|
+
new (): HTMLPictureElement;
|
|
209
|
+
prototype: HTMLPictureElement;
|
|
210
|
+
};
|
|
211
|
+
HTMLPreElement: {
|
|
212
|
+
new (): HTMLPreElement;
|
|
213
|
+
prototype: HTMLPreElement;
|
|
214
|
+
};
|
|
215
|
+
HTMLProgressElement: {
|
|
216
|
+
new (): HTMLProgressElement;
|
|
217
|
+
prototype: HTMLProgressElement;
|
|
218
|
+
};
|
|
219
|
+
HTMLQuoteElement: {
|
|
220
|
+
new (): HTMLQuoteElement;
|
|
221
|
+
prototype: HTMLQuoteElement;
|
|
222
|
+
};
|
|
223
|
+
HTMLScriptElement: {
|
|
224
|
+
new (): HTMLScriptElement;
|
|
225
|
+
prototype: HTMLScriptElement;
|
|
226
|
+
supports(type: string): boolean;
|
|
227
|
+
};
|
|
228
|
+
HTMLSelectElement: {
|
|
229
|
+
new (): HTMLSelectElement;
|
|
230
|
+
prototype: HTMLSelectElement;
|
|
231
|
+
};
|
|
232
|
+
HTMLSlotElement: {
|
|
233
|
+
new (): HTMLSlotElement;
|
|
234
|
+
prototype: HTMLSlotElement;
|
|
235
|
+
};
|
|
236
|
+
HTMLSourceElement: {
|
|
237
|
+
new (): HTMLSourceElement;
|
|
238
|
+
prototype: HTMLSourceElement;
|
|
239
|
+
};
|
|
240
|
+
HTMLSpanElement: {
|
|
241
|
+
new (): HTMLSpanElement;
|
|
242
|
+
prototype: HTMLSpanElement;
|
|
243
|
+
};
|
|
244
|
+
HTMLStyleElement: {
|
|
245
|
+
new (): HTMLStyleElement;
|
|
246
|
+
prototype: HTMLStyleElement;
|
|
247
|
+
};
|
|
248
|
+
HTMLTableCaptionElement: {
|
|
249
|
+
new (): HTMLTableCaptionElement;
|
|
250
|
+
prototype: HTMLTableCaptionElement;
|
|
251
|
+
};
|
|
252
|
+
HTMLTableCellElement: {
|
|
253
|
+
new (): HTMLTableCellElement;
|
|
254
|
+
prototype: HTMLTableCellElement;
|
|
255
|
+
};
|
|
256
|
+
HTMLTableColElement: {
|
|
257
|
+
new (): HTMLTableColElement;
|
|
258
|
+
prototype: HTMLTableColElement;
|
|
259
|
+
};
|
|
260
|
+
HTMLTableElement: {
|
|
261
|
+
new (): HTMLTableElement;
|
|
262
|
+
prototype: HTMLTableElement;
|
|
263
|
+
};
|
|
264
|
+
HTMLTableRowElement: {
|
|
265
|
+
new (): HTMLTableRowElement;
|
|
266
|
+
prototype: HTMLTableRowElement;
|
|
267
|
+
};
|
|
268
|
+
HTMLTableSectionElement: {
|
|
269
|
+
new (): HTMLTableSectionElement;
|
|
270
|
+
prototype: HTMLTableSectionElement;
|
|
271
|
+
};
|
|
272
|
+
HTMLTemplateElement: {
|
|
273
|
+
new (): HTMLTemplateElement;
|
|
274
|
+
prototype: HTMLTemplateElement;
|
|
275
|
+
};
|
|
276
|
+
HTMLTextAreaElement: {
|
|
277
|
+
new (): HTMLTextAreaElement;
|
|
278
|
+
prototype: HTMLTextAreaElement;
|
|
279
|
+
};
|
|
280
|
+
HTMLTimeElement: {
|
|
281
|
+
new (): HTMLTimeElement;
|
|
282
|
+
prototype: HTMLTimeElement;
|
|
283
|
+
};
|
|
284
|
+
HTMLTitleElement: {
|
|
285
|
+
new (): HTMLTitleElement;
|
|
286
|
+
prototype: HTMLTitleElement;
|
|
287
|
+
};
|
|
288
|
+
HTMLTrackElement: {
|
|
289
|
+
new (): HTMLTrackElement;
|
|
290
|
+
prototype: HTMLTrackElement;
|
|
291
|
+
readonly NONE: 0;
|
|
292
|
+
readonly LOADING: 1;
|
|
293
|
+
readonly LOADED: 2;
|
|
294
|
+
readonly ERROR: 3;
|
|
295
|
+
};
|
|
296
|
+
HTMLUListElement: {
|
|
297
|
+
new (): HTMLUListElement;
|
|
298
|
+
prototype: HTMLUListElement;
|
|
299
|
+
};
|
|
300
|
+
HTMLUnknownElement: {
|
|
301
|
+
new (): HTMLUnknownElement;
|
|
302
|
+
prototype: HTMLUnknownElement;
|
|
303
|
+
};
|
|
304
|
+
HTMLVideoElement: {
|
|
305
|
+
new (): HTMLVideoElement;
|
|
306
|
+
prototype: HTMLVideoElement;
|
|
307
|
+
};
|
|
308
|
+
crypto: Crypto;
|
|
309
|
+
document: Document;
|
|
310
|
+
localStorage: Storage;
|
|
311
|
+
navigator: Navigator;
|
|
312
|
+
window: import("jsdom").DOMWindow;
|
|
313
|
+
};
|
package/env/browser.js
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { JSDOM } from 'jsdom';
|
|
2
|
+
/**
|
|
3
|
+
* Export a very basic JSDom environment - this is just enough so we have
|
|
4
|
+
* @testing-environment/react tests passing in this repo
|
|
5
|
+
*
|
|
6
|
+
* FIXME: This approach is actually _explicitly_ discouraged by JSDOM - when
|
|
7
|
+
* using window you should run the tests inside that context, instead of just
|
|
8
|
+
* blindly relying on the globals as we do here
|
|
9
|
+
*/
|
|
10
|
+
export function browser() {
|
|
11
|
+
const { window } = new JSDOM('', { url: 'http://localhost' });
|
|
12
|
+
return {
|
|
13
|
+
// All HTML Elements that are defined on the JSDOM window object.
|
|
14
|
+
// (we copied as-is from the types definition). We cannot get this
|
|
15
|
+
// via Object.keys(window).filter(...) so we have to specify explicitly
|
|
16
|
+
HTMLAnchorElement: window.HTMLAnchorElement,
|
|
17
|
+
HTMLAreaElement: window.HTMLAreaElement,
|
|
18
|
+
HTMLAudioElement: window.HTMLAudioElement,
|
|
19
|
+
HTMLBRElement: window.HTMLBRElement,
|
|
20
|
+
HTMLBaseElement: window.HTMLBaseElement,
|
|
21
|
+
HTMLBodyElement: window.HTMLBodyElement,
|
|
22
|
+
HTMLButtonElement: window.HTMLButtonElement,
|
|
23
|
+
HTMLCanvasElement: window.HTMLCanvasElement,
|
|
24
|
+
HTMLDListElement: window.HTMLDListElement,
|
|
25
|
+
HTMLDataElement: window.HTMLDataElement,
|
|
26
|
+
HTMLDataListElement: window.HTMLDataListElement,
|
|
27
|
+
HTMLDetailsElement: window.HTMLDetailsElement,
|
|
28
|
+
HTMLDialogElement: window.HTMLDialogElement,
|
|
29
|
+
HTMLDirectoryElement: window.HTMLDirectoryElement,
|
|
30
|
+
HTMLDivElement: window.HTMLDivElement,
|
|
31
|
+
HTMLElement: window.HTMLElement,
|
|
32
|
+
HTMLEmbedElement: window.HTMLEmbedElement,
|
|
33
|
+
HTMLFieldSetElement: window.HTMLFieldSetElement,
|
|
34
|
+
HTMLFontElement: window.HTMLFontElement,
|
|
35
|
+
HTMLFormElement: window.HTMLFormElement,
|
|
36
|
+
HTMLFrameElement: window.HTMLFrameElement,
|
|
37
|
+
HTMLFrameSetElement: window.HTMLFrameSetElement,
|
|
38
|
+
HTMLHRElement: window.HTMLHRElement,
|
|
39
|
+
HTMLHeadElement: window.HTMLHeadElement,
|
|
40
|
+
HTMLHeadingElement: window.HTMLHeadingElement,
|
|
41
|
+
HTMLHtmlElement: window.HTMLHtmlElement,
|
|
42
|
+
HTMLIFrameElement: window.HTMLIFrameElement,
|
|
43
|
+
HTMLImageElement: window.HTMLImageElement,
|
|
44
|
+
HTMLInputElement: window.HTMLInputElement,
|
|
45
|
+
HTMLLIElement: window.HTMLLIElement,
|
|
46
|
+
HTMLLabelElement: window.HTMLLabelElement,
|
|
47
|
+
HTMLLegendElement: window.HTMLLegendElement,
|
|
48
|
+
HTMLLinkElement: window.HTMLLinkElement,
|
|
49
|
+
HTMLMapElement: window.HTMLMapElement,
|
|
50
|
+
HTMLMarqueeElement: window.HTMLMarqueeElement,
|
|
51
|
+
HTMLMediaElement: window.HTMLMediaElement,
|
|
52
|
+
HTMLMenuElement: window.HTMLMenuElement,
|
|
53
|
+
HTMLMetaElement: window.HTMLMetaElement,
|
|
54
|
+
HTMLMeterElement: window.HTMLMeterElement,
|
|
55
|
+
HTMLModElement: window.HTMLModElement,
|
|
56
|
+
HTMLOListElement: window.HTMLOListElement,
|
|
57
|
+
HTMLObjectElement: window.HTMLObjectElement,
|
|
58
|
+
HTMLOptGroupElement: window.HTMLOptGroupElement,
|
|
59
|
+
HTMLOptionElement: window.HTMLOptionElement,
|
|
60
|
+
HTMLOutputElement: window.HTMLOutputElement,
|
|
61
|
+
HTMLParagraphElement: window.HTMLParagraphElement,
|
|
62
|
+
HTMLParamElement: window.HTMLParamElement,
|
|
63
|
+
HTMLPictureElement: window.HTMLPictureElement,
|
|
64
|
+
HTMLPreElement: window.HTMLPreElement,
|
|
65
|
+
HTMLProgressElement: window.HTMLProgressElement,
|
|
66
|
+
HTMLQuoteElement: window.HTMLQuoteElement,
|
|
67
|
+
HTMLScriptElement: window.HTMLScriptElement,
|
|
68
|
+
HTMLSelectElement: window.HTMLSelectElement,
|
|
69
|
+
HTMLSlotElement: window.HTMLSlotElement,
|
|
70
|
+
HTMLSourceElement: window.HTMLSourceElement,
|
|
71
|
+
HTMLSpanElement: window.HTMLSpanElement,
|
|
72
|
+
HTMLStyleElement: window.HTMLStyleElement,
|
|
73
|
+
HTMLTableCaptionElement: window.HTMLTableCaptionElement,
|
|
74
|
+
HTMLTableCellElement: window.HTMLTableCellElement,
|
|
75
|
+
HTMLTableColElement: window.HTMLTableColElement,
|
|
76
|
+
HTMLTableElement: window.HTMLTableElement,
|
|
77
|
+
HTMLTableRowElement: window.HTMLTableRowElement,
|
|
78
|
+
HTMLTableSectionElement: window.HTMLTableSectionElement,
|
|
79
|
+
HTMLTemplateElement: window.HTMLTemplateElement,
|
|
80
|
+
HTMLTextAreaElement: window.HTMLTextAreaElement,
|
|
81
|
+
HTMLTimeElement: window.HTMLTimeElement,
|
|
82
|
+
HTMLTitleElement: window.HTMLTitleElement,
|
|
83
|
+
HTMLTrackElement: window.HTMLTrackElement,
|
|
84
|
+
HTMLUListElement: window.HTMLUListElement,
|
|
85
|
+
HTMLUnknownElement: window.HTMLUnknownElement,
|
|
86
|
+
HTMLVideoElement: window.HTMLVideoElement,
|
|
87
|
+
// normal service resumes, the base top-level names
|
|
88
|
+
crypto: window.crypto,
|
|
89
|
+
document: window.document,
|
|
90
|
+
localStorage: window.localStorage,
|
|
91
|
+
navigator: window.navigator,
|
|
92
|
+
// window...
|
|
93
|
+
window
|
|
94
|
+
};
|
|
95
|
+
}
|