Bug 1287677 - Add mozIntl.getDisplayNames API

This commit is contained in:
janekptacijarabaci 2018-03-30 18:58:51 +02:00 committed by Roy Tam
commit 5381ebe25c
9 changed files with 718 additions and 0 deletions

View file

@ -906,6 +906,7 @@ AddIntlExtras(JSContext* cx, unsigned argc, Value* vp)
static const JSFunctionSpec funcs[] = {
JS_SELF_HOSTED_FN("getCalendarInfo", "Intl_getCalendarInfo", 1, 0),
JS_SELF_HOSTED_FN("getDisplayNames", "Intl_getDisplayNames", 2, 0),
JS_FS_END
};