Index: src/extensions/i18n/collator.js |
diff --git a/src/extensions/i18n/collator.js b/src/extensions/i18n/collator.js |
index 021164ac6314f22a84d37acfe0d818c1da7224a2..3483515bef2e688e1a08b31e8e33a239e3f55f2b 100644 |
--- a/src/extensions/i18n/collator.js |
+++ b/src/extensions/i18n/collator.js |
@@ -168,7 +168,9 @@ function initializeCollator(collator, locales, options) { |
}, |
ATTRIBUTES.DONT_ENUM |
); |
+%FunctionSetName(Intl.Collator.prototype.resolvedOptions, 'resolvedOptions'); |
%FunctionRemovePrototype(Intl.Collator.prototype.resolvedOptions); |
+%SetNativeFlag(Intl.Collator.prototype.resolvedOptions); |
/** |
@@ -186,7 +188,9 @@ function initializeCollator(collator, locales, options) { |
}, |
ATTRIBUTES.DONT_ENUM |
); |
+%FunctionSetName(Intl.Collator.supportedLocalesOf, 'supportedLocalesOf'); |
%FunctionRemovePrototype(Intl.Collator.supportedLocalesOf); |
+%SetNativeFlag(Intl.Collator.supportedLocalesOf); |
/** |