#16941 closed enhancement (fixed)

mozjs-91.13.0

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 11.3
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version

Change History (3)

comment:1 by Douglas R. Reno, 20 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 20 months ago

There were relatively minor changes to the JS source, but this appears to be it:

diff -Naurp firefox-91.12.0/js/xpconnect/src/XPCConvert.cpp firefox-91.13.0/js/xpconnect/src/XPCConvert.cpp
--- firefox-91.12.0/js/xpconnect/src/XPCConvert.cpp     2022-07-18 12:59:58.000000000 -0500
+++ firefox-91.13.0/js/xpconnect/src/XPCConvert.cpp     2022-08-15 13:04:56.000000000 -0500
@@ -106,7 +106,7 @@ bool XPCConvert::NativeData2JS(JSContext
       d.setNumber(*static_cast<const float*>(s));
       return true;
     case nsXPTType::T_DOUBLE:
-      d.setNumber(*static_cast<const double*>(s));
+      d.set(JS_NumberValue(*static_cast<const double*>(s)));
       return true;
     case nsXPTType::T_BOOL:
       d.setBoolean(*static_cast<const bool*>(s));
diff -Naurp firefox-91.12.0/js/xpconnect/src/XPCVariant.cpp firefox-91.13.0/js/xpconnect/src/XPCVariant.cpp
--- firefox-91.12.0/js/xpconnect/src/XPCVariant.cpp     2022-07-18 12:59:58.000000000 -0500
+++ firefox-91.13.0/js/xpconnect/src/XPCVariant.cpp     2022-08-15 13:04:56.000000000 -0500
@@ -438,7 +438,7 @@ bool XPCVariant::VariantDataToJS(JSConte
       if (NS_FAILED(variant->GetAsDouble(&d))) {
         return false;
       }
-      pJSVal.setNumber(d);
+      pJSVal.set(JS_NumberValue(d));
       return true;
     }
     case nsIDataType::VTYPE_BOOL: {

As far as I can tell, no security issues here. Should just be a straightforward update.

comment:3 by Douglas R. Reno, 20 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.