Support multiple character browsers
This commit is contained in:
parent
52f47b2510
commit
5bdb050b5f
|
@ -488,7 +488,7 @@ function init() {
|
|||
hashVars[myVar.substr(0, index)] = myVar.substr(index+1);
|
||||
}
|
||||
|
||||
if(hashVars["browser"] && /^[a-z]$/.test(hashVars["browser"])
|
||||
if(hashVars["browser"] && /^[a-z]+$/.test(hashVars["browser"])
|
||||
&& hashVars["version"] && /^[0-9a-zA-Z\-._]/.test(hashVars["version"])) {
|
||||
loc = "testResults-"+hashVars["browser"]+"-"+hashVars["version"]+".json";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user