mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 768381 - OS.Constants.Sys.Version should be OS.Constants.Sys.Name. r=yoric
This commit is contained in:
parent
9372215e1d
commit
84a851cf34
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user