mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
Bug 1123945 - Fix --no-autorun harness option. r=jmaher
This commit is contained in:
parent
d738415420
commit
45cb0d2821
@ -58,10 +58,12 @@ if (window.readConfig) {
|
||||
}
|
||||
|
||||
if (config.testRoot == "chrome" || config.testRoot == "a11y") {
|
||||
for (p in params) {
|
||||
if (params[p] == 1) {
|
||||
for (var p in params) {
|
||||
// Compare with arrays to find boolean equivalents, since that's what
|
||||
// |parseQueryString| with useArrays returns.
|
||||
if (params[p] == [1]) {
|
||||
config[p] = true;
|
||||
} else if (params[p] == 0) {
|
||||
} else if (params[p] == [0]) {
|
||||
config[p] = false;
|
||||
} else {
|
||||
config[p] = params[p];
|
||||
|
Loading…
x
Reference in New Issue
Block a user