Issue #2046 - Introduce mozIntl.DateTimeFormat with mozExtensions

Based-on: m-c 1329904
This commit is contained in:
Martok 2023-06-29 23:02:37 +02:00 • committed by roytam1
commit 85612accf2
10 changed files with 227 additions and 15 deletions

View file

@ -927,6 +927,9 @@ AddIntlExtras(JSContext* cx, unsigned argc, Value* vp)
if (!JS_DefineFunctions(cx, intl, funcs))
return false;
if (!js::AddMozDateTimeFormatConstructor(cx, intl))
return false;
args.rval().setUndefined();
return true;
}