Bug 1101976 - fix start-at/end-at support because of odd test formats with mochitest-browser, r=ted

This commit is contained in:
Gijs Kruitbosch 2014-11-20 00:02:09 +00:00
parent 830fdd3d87
commit 2e979b5ae1

View File

@ -80,6 +80,8 @@ function skipTests(tests, startTestPattern, endTestPattern) {
var test_path;
if ((tests[i] instanceof Object) && ('test' in tests[i])) {
test_path = tests[i]['test']['url'];
} else if ((tests[i] instanceof Object) && ('url' in tests[i])) {
test_path = tests[i]['url'];
} else {
test_path = tests[i];
}