mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Issue #1756 - Expose NumberFormat.formatToParts() to content.
This commit is contained in:
parent
5df0028108
commit
bdcb9cc504
4 changed files with 1 additions and 44 deletions
|
|
@ -4684,11 +4684,6 @@ NewGlobal(JSContext* cx, unsigned argc, Value* vp)
|
|||
if (v.isBoolean())
|
||||
creationOptions.setCloneSingletons(v.toBoolean());
|
||||
|
||||
if (!JS_GetProperty(cx, opts, "experimentalNumberFormatFormatToPartsEnabled", &v))
|
||||
return false;
|
||||
if (v.isBoolean())
|
||||
creationOptions.setExperimentalNumberFormatFormatToPartsEnabled(v.toBoolean());
|
||||
|
||||
if (!JS_GetProperty(cx, opts, "sameZoneAs", &v))
|
||||
return false;
|
||||
if (v.isObject())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue