summaryrefslogtreecommitdiffstats
path: root/js/src/shell
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 18:58:51 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-30 18:58:51 +0200
commitc4aadf04aa9c089c6251478f23e941bfa03b3cad (patch)
tree10081190e622456c1515d4a00f6f99cec52fe44e /js/src/shell
parente25430117a67f5c898e5e9388ebd44b185d469ab (diff)
downloadUXP-c4aadf04aa9c089c6251478f23e941bfa03b3cad.tar
UXP-c4aadf04aa9c089c6251478f23e941bfa03b3cad.tar.gz
UXP-c4aadf04aa9c089c6251478f23e941bfa03b3cad.tar.lz
UXP-c4aadf04aa9c089c6251478f23e941bfa03b3cad.tar.xz
UXP-c4aadf04aa9c089c6251478f23e941bfa03b3cad.zip
Bug 1287677 - Add mozIntl.getDisplayNames API
Diffstat (limited to 'js/src/shell')
-rw-r--r--js/src/shell/js.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp
index cc68c90d5..8d69ca942 100644
--- a/js/src/shell/js.cpp
+++ b/js/src/shell/js.cpp
@@ -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
};