This is a first diff changing our code in preparation for the SM45 upgrade. The changes are applicable to our current copy and will reduce the number of changes needed during the upgrade.
Here is the list of improvements, for eased review:
- Remove JSVAL_ZERO and JSVAL_NULL https://bugzilla.mozilla.org/show_bug.cgi?id=1177825
- Remove *_TO_JSVAL https://bugzilla.mozilla.org/show_bug.cgi?id=1177892
- Correctly use boolean values in JS::RuntimeOptionsRef
- Drop support for parent object in the deserializer https://bugzilla.mozilla.org/show_bug.cgi?id=1136345 https://bugzilla.mozilla.org/show_bug.cgi?id=805052
- Use JS_FN instead of JS_FS: in future versions, JS_FS is not public because it isn't supposed to be used in JSAPI code
- Allow to select flags for global objects
- Remove empty JSI_props in IGUIObject