-
Notifications
You must be signed in to change notification settings - Fork 0
/
validatorConfig.js
75 lines (75 loc) · 1.67 KB
/
validatorConfig.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
module.exports = {
actions: {
trigger: {
click: true,
mouseover: true
},
trackWindowOpen: true
},
screenshots: {
ms: 25,
onlyUnique: true
},
scripts: {
collectAttributes: true
},
codeUsage: {
geolocation: {
active: true,
trackAfterInteraction: false
}
},
css: {
strictRules: true,
filterOutStyleTagsWith: '* { padding: 0; margin: 0; border: 0; }'
},
errors: {
//allowedErrors: 0
},
gardr: {
// takes input from viewportOptions
iframeNotAllowed: true,
enforceStyling: true,
enforceSpec: true,
illegalTags: ['meta[name=\"viewport\"]']
},
jquery: {
versionsBack: 1,
wrapAnimate: true
},
log: {
//output logs to view maybe?
},
sizes: {
//refetchResources: true, // processReources.js
//filterAfterUserInteraction: true, // onHalfTime triggers actions
thresholdBytes: 100000, // bytes gziped
giveExtraThreshold: {
jQuery: true,
jQueryThreshold: 33369,
AdForm: true
},
minimumPayloadSize: 100,
maxRequests: {
style: 0,
script: 2,
errors: 0,
image: 20,
other: 3
}
},
timers: {
nameToTriggerWrap: 'iframe.htm',
setTimeout: 20,
setInterval: 1,
requestAnimationFrame: 0
},
touch: {
swipeTop: true,
swipeRight: true,
swipeLeft: true,
frames: 20,
swipeTime: 250,
delayBeforeNext: 1800
}
};