michael@0: // Copyright 2012 Mozilla Corporation. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * @description Tests that the option currencyDisplay is processed correctly. michael@0: * @author Norbert Lindenberg michael@0: */ michael@0: michael@0: $INCLUDE("testIntl.js"); michael@0: michael@0: testOption(Intl.NumberFormat, "currencyDisplay", "string", ["code", "symbol", "name"], michael@0: "symbol", {extra: {any: {style: "currency", currency: "XDR"}}}); michael@0: testOption(Intl.NumberFormat, "currencyDisplay", "string", ["code", "symbol", "name"], michael@0: undefined, {noReturn: true}); michael@0: