Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 669252 - Use the string "unknown test url" in mochitest logging l…
Browse files Browse the repository at this point in the history
…ines if the current test URL is unknown. r=ted
  • Loading branch information
heycam committed Jul 9, 2011
1 parent fd9d835 commit eb6e556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/mochitest/tests/SimpleTest/SimpleTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ SimpleTest.todo = function(condition, name, diag) {
SimpleTest._getCurrentTestURL = function() {
return parentRunner && parentRunner.currentTestURL ||
typeof gTestPath == "string" && gTestPath ||
"";
"unknown test url";
};

SimpleTest._logResult = function(test, passString, failString) {
Expand Down

0 comments on commit eb6e556

Please sign in to comment.