-
Notifications
You must be signed in to change notification settings - Fork 220
/
.check-all-the-errors.js
51 lines (51 loc) · 1.32 KB
/
.check-all-the-errors.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
module.exports = {
followLinks: 'both',
output: 'webgl2fundamentals.check.json',
expectedErrors: [
{
filter: "webgl-3d-textures.html",
errors: [
{ type: 'msg', test: "gl.INVALID_OPERATION in generateMipmap", },
],
},
{
filter: "webgl-data-textures.html",
errors: [
{ type: 'msg', test: "gl.INVALID_OPERATION in texImage2D", },
],
},
{
filter: "webgl-cors-permission.html",
errors: [
{ type: 'msg', test: /Uncaught SecurityError.*?cross-origin data/, },
{ type: 'msg', test: "JSHandle@error", },
{ type: 'pageerror', test: "DOMException: Failed to execute 'texImage2D'", },
],
},
{
filter: "webgl-cors-permission-bad.html",
errors: [
{ type: 'pageerror', test: "DOMException: Failed to execute 'texImage2D", },
],
},
{
filter: "webgl-3d-geometry-lathe.html",
errors: [
{ type: 'badlink', test: 'www.maxon.net' },
],
},
{
filter: /\/webgl\/$/,
errors: [
{ type: 'badResponse', test: ''},
{ type: 'msg', test: 'Failed to load resource'},
],
},
{
filter: 'webgl-setup-and-installation.html',
errors: [
{ type: 'badlink', test: 'https://codepen.io/greggman/pen/YGQjVV', }
],
},
]
};