Fixed unsafe use of for..in to sequentially iterate an Array = incorrect parsed values in some JavaScript VMs.

This commit is contained in:
John Yanarella 2013-08-16 16:15:52 -04:00
parent 80d6d137ba
commit 494175854f
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@
for (j = k = 0; j < regex.length; j++) {
matches = regex[j].exec(this.getUA());
if (!!matches) {
for (p in props) {
for (p = 0; p < props.length; p++) {
match = matches[++k];
q = props[p];
// check if given property is actually array

File diff suppressed because one or more lines are too long