diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-04-21 10:41:26 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-04-21 10:51:49 -0400 |
commit | 6abef94a017f6140f1cd222587bb101c1b8ceda1 (patch) | |
tree | 334b5025cb1a6abfd0d61f5b0d6d478dbe948b30 /src/mongo/scripting/mozjs/numberlong.cpp | |
parent | 9d496edb004f1782ca4f8998eab6327e5cc0e3c8 (diff) | |
download | mongo-6abef94a017f6140f1cd222587bb101c1b8ceda1.tar.gz |
SERVER-23358 SpiderMonkey 45.0.2 ESR MongoDB & Build Integration
Diffstat (limited to 'src/mongo/scripting/mozjs/numberlong.cpp')
-rw-r--r-- | src/mongo/scripting/mozjs/numberlong.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/scripting/mozjs/numberlong.cpp b/src/mongo/scripting/mozjs/numberlong.cpp index 28d4999885d..2244c9d25b9 100644 --- a/src/mongo/scripting/mozjs/numberlong.cpp +++ b/src/mongo/scripting/mozjs/numberlong.cpp @@ -215,7 +215,7 @@ void NumberLongInfo::postInstall(JSContext* cx, JS::HandleObject global, JS::Han proto, getScope(cx)->getInternedStringId(InternedString::floatApprox), undef, - JSPROP_READONLY | JSPROP_ENUMERATE | JSPROP_SHARED, + JSPROP_ENUMERATE | JSPROP_SHARED, smUtils::wrapConstrainedMethod<Functions::floatApprox, true, NumberLongInfo>, nullptr)) { uasserted(ErrorCodes::JSInterpreterFailure, "Failed to JS_DefinePropertyById"); @@ -226,7 +226,7 @@ void NumberLongInfo::postInstall(JSContext* cx, JS::HandleObject global, JS::Han proto, getScope(cx)->getInternedStringId(InternedString::top), undef, - JSPROP_READONLY | JSPROP_ENUMERATE | JSPROP_SHARED, + JSPROP_ENUMERATE | JSPROP_SHARED, smUtils::wrapConstrainedMethod<Functions::top, true, NumberLongInfo>, nullptr)) { uasserted(ErrorCodes::JSInterpreterFailure, "Failed to JS_DefinePropertyById"); @@ -238,7 +238,7 @@ void NumberLongInfo::postInstall(JSContext* cx, JS::HandleObject global, JS::Han proto, getScope(cx)->getInternedStringId(InternedString::bottom), undef, - JSPROP_READONLY | JSPROP_ENUMERATE | JSPROP_SHARED, + JSPROP_ENUMERATE | JSPROP_SHARED, smUtils::wrapConstrainedMethod<Functions::bottom, true, NumberLongInfo>, nullptr)) { uasserted(ErrorCodes::JSInterpreterFailure, "Failed to JS_DefinePropertyById"); |