Bug 1410178 - Remove debugging printf in jsapi tests r=till
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 20 Oct 2017 09:34:33 +0100
changeset 387422 97d61b07411126c8c1d3ffaf0f64828428962444
parent 387421 dabc52f35ddbfac80f262e2b99b8170b849ed3bb
child 387423 816bd8b20efbbcbb0f8e69cf8be925b011dec5dc
push id32718
push userarchaeopteryx@coole-files.de
push dateFri, 20 Oct 2017 22:07:12 +0000
treeherdermozilla-central@a9131757dfdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstill
bugs1410178
milestone58.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 1410178 - Remove debugging printf in jsapi tests r=till
js/src/jsapi-tests/tests.cpp
--- a/js/src/jsapi-tests/tests.cpp
+++ b/js/src/jsapi-tests/tests.cpp
@@ -81,17 +81,16 @@ bool JSAPITest::definePrint()
 JSObject* JSAPITest::createGlobal(JSPrincipals* principals)
 {
     /* Create the global object. */
     JS::RootedObject newGlobal(cx);
     JS::CompartmentOptions options;
 #ifdef ENABLE_STREAMS
     options.creationOptions().setStreamsEnabled(true);
 #endif
-    printf("enabled\n");
     options.behaviors().setVersion(JSVERSION_DEFAULT);
     newGlobal = JS_NewGlobalObject(cx, getGlobalClass(), principals, JS::FireOnNewGlobalHook,
                                    options);
     if (!newGlobal)
         return nullptr;
 
     JSAutoCompartment ac(cx, newGlobal);