Backed out changeset 650ad3cd7e52 because of xpcshell test failure
authorEhsan Akhgari <ehsan@mozilla.com>
Mon, 29 Nov 2010 18:15:24 -0500
changeset 58350 e96da44dcae1fa8c1756a13adad00f6d84fc73a3
parent 58345 650ad3cd7e520eb93ba73ecedc40212d4c81efb0
child 58351 82f2a2e86728efad2c08abd9a1b7a916817426a7
push id17258
push usereakhgari@mozilla.com
push dateMon, 29 Nov 2010 23:15:45 +0000
treeherdermozilla-central@82f2a2e86728 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0b8pre
backs out650ad3cd7e520eb93ba73ecedc40212d4c81efb0
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
Backed out changeset 650ad3cd7e52 because of xpcshell test failure
js/src/xpconnect/shell/xpcshell.cpp
--- a/js/src/xpconnect/shell/xpcshell.cpp
+++ b/js/src/xpconnect/shell/xpcshell.cpp
@@ -444,21 +444,17 @@ Dump(JSContext *cx, uintN argc, jsval *v
     JSString *str;
     if (!argc)
         return JS_TRUE;
 
     str = JS_ValueToString(cx, JS_ARGV(cx, vp)[0]);
     if (!str)
         return JS_FALSE;
 
-    JSAutoByteString bytes(cx, str);
-    if (!bytes)
-        return JS_FALSE;
-    
-    fputs(bytes.ptr(), gOutFile);
+    JS_FileEscapedString(gOutFile, str, 0);
     fflush(gOutFile);
     return JS_TRUE;
 }
 
 static JSBool
 Load(JSContext *cx, uintN argc, jsval *vp)
 {
     uintN i;