tests/auto/qml/ecmascripttests/test262/test/intl402/PluralRules/supportedLocalesOf/arguments.js
raw| 1 | // Copyright 2016 Mozilla Corporation. All rights reserved. |
| 2 | // This code is governed by the license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | esid: sec-Intl.PluralRules.supportedLocalesOf |
| 6 | description: > |
| 7 | Tests that Intl.PluralRules.supportedLocalesOf doesn't access |
| 8 | arguments that it's not given. |
| 9 | author: Zibi Braniecki |
| 10 | includes: [testIntl.js] |
| 11 | ---*/ |
| 12 | |
| 13 | taintDataProperty(Object.prototype, "1"); |
| 14 | new Intl.PluralRules("und"); |