Bug 768381 - OS.Constants.Sys.Version should be OS.Constants.Sys.Name. r=yoric

This commit is contained in:
David Rajchenbach-Teller 2012-06-27 20:15:33 -04:00
parent 9372215e1d
commit 84a851cf34

View File

@ -362,7 +362,7 @@ bool DefineOSFileConstants(JSContext *cx, JSObject *global)
}
jsval valVersion = STRING_TO_JSVAL(strVersion);
if (!JS_SetProperty(cx, objSys, "Version", &valVersion)) {
if (!JS_SetProperty(cx, objSys, "Name", &valVersion)) {
return false;
}
}