blob: ac4b044861f01d5d36f7d4a3f7637eee76ae7611 [file] [log] [blame]
This test checks the behavior of the Intl object as described in the ECMAScript Internationalization API Specification (ECMA-402 2.0).
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Intl is an instance of Object
PASS typeof Intl is 'object'
PASS Object.prototype.toString.call(Intl) is '[object Object]'
PASS Object.getPrototypeOf(Intl) === Object.prototype is true
PASS new Intl threw exception TypeError: Object is not a constructor (evaluating 'new Intl').
PASS Intl() threw exception TypeError: Intl is not a function. (In 'Intl()', 'Intl' is an instance of Object).
PASS Object.keys(Intl).length is 0
PASS delete Intl; is true
PASS 'Intl' in global() is false
PASS successfullyParsed is true
TEST COMPLETE