Bug 842889 - Include MOZILLA_VERSION in JS_GetImplementationVersion(). r=waldo
authorTim Lunn <tim@feathertop.org>
Thu, 25 Apr 2013 16:40:33 -0700
changeset 130006 b51eaa301a4a4e12cee631e5c4220d8a8fa88a03
parent 130005 da1921e38c6cc9be778b49101ed3f1e67ec39285
child 130007 c5c07362a6294f6b13543c4624b4fd0b80896ab4
push id24596
push userryanvm@gmail.com
push dateSat, 27 Apr 2013 01:20:57 +0000
treeherdermozilla-central@0e45f1b9521f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswaldo
bugs842889
milestone23.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 842889 - Include MOZILLA_VERSION in JS_GetImplementationVersion(). r=waldo
js/src/jsapi.cpp
--- a/js/src/jsapi.cpp
+++ b/js/src/jsapi.cpp
@@ -1440,17 +1440,17 @@ JS_PUBLIC_API(void)
 JS_SetJitHardening(JSRuntime *rt, JSBool enabled)
 {
     rt->setJitHardening(!!enabled);
 }
 
 JS_PUBLIC_API(const char *)
 JS_GetImplementationVersion(void)
 {
-    return "JavaScript-C 1.8.5+ 2011-04-16";
+    return "JavaScript-C" MOZILLA_VERSION;
 }
 
 JS_PUBLIC_API(void)
 JS_SetDestroyCompartmentCallback(JSRuntime *rt, JSDestroyCompartmentCallback callback)
 {
     rt->destroyCompartmentCallback = callback;
 }