Bug 964700 - Fix test_safeErrorString.js xpcshell test, r=me
authorVictor Porof <vporof@mozilla.com>
Tue, 28 Jan 2014 18:25:25 +0200
changeset 181588 dc2496527dd5d0b6b23c2f3715c403e52d9198d8
parent 181587 e24712ca61f0d76a05ee1531dd454aaae3c57261
child 181589 59684ec6f1518cd4b2ed5bb4f2bf7301cf696025
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs964700
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 964700 - Fix test_safeErrorString.js xpcshell test, r=me
toolkit/devtools/tests/unit/test_safeErrorString.js
--- a/toolkit/devtools/tests/unit/test_safeErrorString.js
+++ b/toolkit/devtools/tests/unit/test_safeErrorString.js
@@ -15,17 +15,17 @@ function run_test() {
 function test_with_error() {
   let s = DevToolsUtils.safeErrorString(new Error("foo bar"));
   // Got the message.
   do_check_true(s.contains("foo bar"));
   // Got the stack.
   do_check_true(s.contains("test_with_error"))
   do_check_true(s.contains("test_safeErrorString.js"));
   // Got the lineNumber and columnNumber.
-  do_check_true(s.contains("line"));
+  do_check_true(s.contains("Line"));
   do_check_true(s.contains("column"));
 }
 
 function test_with_tricky_error() {
   let e = new Error("batman");
   e.stack = { toString: Object.create(null) };
   let s = DevToolsUtils.safeErrorString(e);
   // Still got the message, despite a bad stack property.