mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1123945 - Fix --no-autorun harness option. r=jmaher
This commit is contained in:
parent
27c7cfdc0f
commit
c67bbb5241
@ -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…
Reference in New Issue
Block a user