Closed Bug 1342648 Opened 3 years ago Closed 3 years ago
Only assign Plural
Rules property when calling add Intl Extras in test262 tests
Avoids breaking test262 when other intl-extras overwrite default Intl properties, cf. bug 1329904, comment #32.
With this patch the Intl extras are first copied into a temporary object, and then we only add PluralRules to the standard Intl object instead of every Intl extra. (js/src/tests/test262/intl402/PluralRules/shell.js is generated file from the test262 update script, it contains the content from js/src/tests/test262-intl-extras.js)
Attachment #8841170 - Flags: review?(gandalf)
Comment on attachment 8841170 [details] [diff] [review] bug1342648.patch thanks!
Attachment #8841170 - Flags: review?(gandalf) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/5a989a69ea61 Only define PluralRules constructor when calling addIntlExtras in test262 PluralRules tests. r=gandalf
You need to log in before you can comment on or make changes to this bug.