Support multiple character browsers

This commit is contained in:
Simon Kornblith 2012-03-08 01:27:03 -05:00
parent 52f47b2510
commit 5bdb050b5f

View File

@ -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";
}