зеркало из https://github.com/mozilla/gecko-dev.git
Bug 731093 - Make head.js code should just look for just |e.filename| so that a non-object exception is logged when thrown from a test. r=jmaher
This commit is contained in:
Родитель
1b6aea2012
Коммит
621a59dc0d
|
@ -335,9 +335,9 @@ function _execute_test() {
|
|||
// do_check failure though.
|
||||
if (!_quit || e != Components.results.NS_ERROR_ABORT) {
|
||||
msg = "TEST-UNEXPECTED-FAIL | ";
|
||||
if ('fileName' in e) {
|
||||
if (e.fileName) {
|
||||
msg += e.fileName;
|
||||
if ('lineNumber' in e) {
|
||||
if (e.lineNumber) {
|
||||
msg += ":" + e.lineNumber;
|
||||
}
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче