Bug 797326 - Get the right line number printed in test_jsctypes.js.in. r=jorendorff
authorDavid Rajchenbach-Teller <dteller@mozilla.com>
Wed, 03 Oct 2012 18:19:23 -0400
changeset 109249 5433c7edcc86883617b3cc3b87105765c297f99e
parent 109248 1fca620575ce2dc6dca97addfd5ec58d1051e6b2
child 109250 09c4dd7bf7d6273f85db1e5b11a1e064e4650aaf
push id82
push usershu@rfrn.org
push dateFri, 05 Oct 2012 13:20:22 +0000
reviewersjorendorff
bugs797326
milestone18.0a1
Bug 797326 - Get the right line number printed in test_jsctypes.js.in. r=jorendorff
toolkit/components/ctypes/tests/unit/head.js
--- a/toolkit/components/ctypes/tests/unit/head.js
+++ b/toolkit/components/ctypes/tests/unit/head.js
@@ -1,12 +1,13 @@
 try {
   // We might be running without privileges, in which case it's up to the
   // harness to give us the 'ctypes' object.
   Components.utils.import("resource://gre/modules/ctypes.jsm");
+  Components.utils.atline = true;
 } catch(e) {
 }
 
 function open_ctypes_test_lib()
 {
   return ctypes.open(do_get_file(ctypes.libraryName("jsctypes-test")).path);
 }