Index: src/extensions/i18n/date-format.js |
diff --git a/src/extensions/i18n/date-format.js b/src/extensions/i18n/date-format.js |
index a91103e9aadbbff733022c7a9cdc88491b0cb97c..04e7a7c7b9d34e50c4ec34bf2ec1e3966534c0b6 100644 |
--- a/src/extensions/i18n/date-format.js |
+++ b/src/extensions/i18n/date-format.js |
@@ -377,7 +377,10 @@ function initializeDateTimeFormat(dateFormat, locales, options) { |
}, |
ATTRIBUTES.DONT_ENUM |
); |
+%FunctionSetName(Intl.DateTimeFormat.prototype.resolvedOptions, |
+ 'resolvedOptions'); |
%FunctionRemovePrototype(Intl.DateTimeFormat.prototype.resolvedOptions); |
+%SetNativeFlag(Intl.DateTimeFormat.prototype.resolvedOptions); |
/** |
@@ -395,7 +398,9 @@ function initializeDateTimeFormat(dateFormat, locales, options) { |
}, |
ATTRIBUTES.DONT_ENUM |
); |
+%FunctionSetName(Intl.DateTimeFormat.supportedLocalesOf, 'supportedLocalesOf'); |
%FunctionRemovePrototype(Intl.DateTimeFormat.supportedLocalesOf); |
+%SetNativeFlag(Intl.DateTimeFormat.supportedLocalesOf); |
/** |