summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/NumberFormat/supportedLocalesOf/taint-Object-prototype.js
blob: d8644585e426e7471fb4cfcc722421be52324768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2013 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.

/*---
es5id: 11.2.2_b
description: >
    Tests that Intl.NumberFormat.supportedLocalesOf  doesn't access
    arguments that it's not given.
author: Norbert Lindenberg
includes: [testIntl.js]
---*/

taintDataProperty(Object.prototype, "1");
new Intl.NumberFormat("und");

reportCompare(0, 0);