Strict mode Failing
Expected no error, got SyntaxError: warning: the variable "Intl" was not declared in anonymous function ""
non-Strict mode Failing
Expected no error, got ReferenceError: Property 'Intl' doesn't exist
Features:
- ∅
Expected no error, got SyntaxError: warning: the variable "Intl" was not declared in anonymous function ""
Expected no error, got ReferenceError: Property 'Intl' doesn't exist
// Copyright 2016 Mozilla Corporation. All rights reserved. // This code is governed by the license found in the LICENSE file. /*--- esid: sec-intl-pluralrules-abstracts description: > Tests that the behavior of a Record is not affected by adversarial changes to Object.prototype. info: | 1.1.1. InitializePluralRules (pluralRules, locales, options) (...) 1.1.1_6. Let t be ? GetOption(options, "type", "string", « "cardinal", "ordinal" », "cardinal"). author: Zibi Braniecki includes: [testIntl.js] ---*/ taintProperties(["type"]); var pr = new Intl.PluralRules(); var time = pr.select(9);