michael@0: // Copyright 2013 Mozilla Corporation. All rights reserved. michael@0: // This code is governed by the license found in the LICENSE file. michael@0: michael@0: /** michael@0: * @description Tests that Number.prototype.toLocaleString uses the standard michael@0: * built-in Intl.NumberFormat constructor. michael@0: * @author Norbert Lindenberg michael@0: */ michael@0: michael@0: $INCLUDE("testIntl.js"); michael@0: michael@0: taintDataProperty(Intl, "NumberFormat"); michael@0: (0.0).toLocaleString();