Open site with extjs (site that I opened required credentials, but you can register trial on www.actitime.com). Kaspersky main.js fails on "if (key.toLowerCase() === "headers")" with TypeError: Cannot read properties of undefined (reading 'toLowerCase')
Probably, problem in additional "hidden" key when `for (... in ...)` get `i` from `entries`. On screenshot the array has 5 items, by `i` get `remove` value from somewhere. Probably, it was added by extjs in
Ext.applyIf(Array.prototype, {
indexOf: function(c) {
for (var b = 0, a = this.length; b < a; b++) {
if (this[b] == c) {
return b
}
}
return -1
},
remove: function(b) {
var a = this.indexOf(b);
if (a != -1) {
this.splice(a, 1)
}
return this
}
});
So, looks like kaspersky 'main.js' script should handle such situations correctly.
Featured Replies
Please sign in to comment
You will be able to leave a comment after signing in
Open site with extjs (site that I opened required credentials, but you can register trial on www.actitime.com). Kaspersky main.js fails on "if (key.toLowerCase() === "headers")" with TypeError: Cannot read properties of undefined (reading 'toLowerCase')
Probably, problem in additional "hidden" key when `for (... in ...)` get `i` from `entries`. On screenshot the array has 5 items, by `i` get `remove` value from somewhere. Probably, it was added by extjs in
Ext.applyIf(Array.prototype, { indexOf: function(c) { for (var b = 0, a = this.length; b < a; b++) { if (this[b] == c) { return b } } return -1 }, remove: function(b) { var a = this.indexOf(b); if (a != -1) { this.splice(a, 1) } return this } });So, looks like kaspersky 'main.js' script should handle such situations correctly.