HomeWildfire Games

Upgrade SpiderMonkey to version 45.0.2, refs #4893.

Description

Upgrade SpiderMonkey to version 45.0.2, refs #4893.

Thanks to wraitii, elexis, Krinkle and historic_bruno for contributions and comments, and to gentz, madpilot, s0600204 and Stan for testing and indirect contributions.

Differential Revision: https://code.wildfiregames.com/D1510

Event Timeline

Itms added a comment.Aug 8 2019, 10:56 AM

The setIsRunOnce addition must be reverted.

/ps/trunk/source/gui/IGUIObject.cpp
349

The GUI is not covered by the unit tests, but this also fails in debug mode.

/ps/trunk/source/scriptinterface/ScriptInterface.cpp
867

Silly me didn't test this in debug mode, which is where SM assertions are checked.

Stan added a subscriber: Stan.Jan 10 2020, 5:45 PM

Could this still be https://bugzilla.mozilla.org/show_bug.cgi?id=1245783#c36 which is only fixed in SM49?
refs rP18762, rP18767

vladislavbelov added a subscriber: vladislavbelov.
vladislavbelov added inline comments.
/ps/trunk/libraries/osx/build-osx-libs.sh
976

This line is missed for the debug build. Fixed in D2566.

(From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Releases/45

SpiderMonkey 45 contains known security vulnerabilities.

CVE doesnt list spidermonkey, so I suppose that refers to a subset of https://www.cvedetails.com/vulnerability-list/vendor_id-452/product_id-22101/version_id-202242/)