OLD | NEW |
---|---|
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
6 # are met: | 6 # are met: |
7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 PASS getSortedOwnPropertyNames([null,null,,,,null]) is ['0','1','5', 'length'] | 46 PASS getSortedOwnPropertyNames([null,null,,,,null]) is ['0','1','5', 'length'] |
47 PASS getSortedOwnPropertyNames((function(){var x=[];x.__proto__=[1,2,3];return x ;})()) is ['length'] | 47 PASS getSortedOwnPropertyNames((function(){var x=[];x.__proto__=[1,2,3];return x ;})()) is ['length'] |
48 PASS getSortedOwnPropertyNames(new Date()) is [] | 48 PASS getSortedOwnPropertyNames(new Date()) is [] |
49 PASS getSortedOwnPropertyNames((function(){var x=new Date();x.__proto__=[1,2,3]; return x;})()) is [] | 49 PASS getSortedOwnPropertyNames((function(){var x=new Date();x.__proto__=[1,2,3]; return x;})()) is [] |
50 PASS getSortedOwnPropertyNames(new RegExp('foo')) is ['global', 'ignoreCase', 'l astIndex', 'multiline', 'source'] | 50 PASS getSortedOwnPropertyNames(new RegExp('foo')) is ['global', 'ignoreCase', 'l astIndex', 'multiline', 'source'] |
51 PASS getSortedOwnPropertyNames((function(){var x=new RegExp();x.__proto__=[1,2,3 ];return x;})()) is ['global', 'ignoreCase', 'lastIndex', 'multiline', 'source'] | 51 PASS getSortedOwnPropertyNames((function(){var x=new RegExp();x.__proto__=[1,2,3 ];return x;})()) is ['global', 'ignoreCase', 'lastIndex', 'multiline', 'source'] |
52 PASS getSortedOwnPropertyNames(argumentsObject()) is ['callee', 'length'] | 52 PASS getSortedOwnPropertyNames(argumentsObject()) is ['callee', 'length'] |
53 PASS getSortedOwnPropertyNames(argumentsObject(1)) is ['0', 'callee', 'length'] | 53 PASS getSortedOwnPropertyNames(argumentsObject(1)) is ['0', 'callee', 'length'] |
54 PASS getSortedOwnPropertyNames(argumentsObject(1,2,3)) is ['0', '1', '2', 'calle e', 'length'] | 54 PASS getSortedOwnPropertyNames(argumentsObject(1,2,3)) is ['0', '1', '2', 'calle e', 'length'] |
55 PASS getSortedOwnPropertyNames((function(){arguments.__proto__=[1,2,3];return ar guments;})()) is ['callee', 'length'] | 55 PASS getSortedOwnPropertyNames((function(){arguments.__proto__=[1,2,3];return ar guments;})()) is ['callee', 'length'] |
56 FAIL getSortedOwnPropertyNames(parseInt) should be length,name. Was arguments,ca ller,length,name. | 56 PASS getSortedOwnPropertyNames(parseInt) is ['arguments', 'caller', 'length', 'n ame'] |
57 FAIL getSortedOwnPropertyNames(parseFloat) should be length,name. Was arguments, caller,length,name. | 57 PASS getSortedOwnPropertyNames(parseFloat) is ['arguments', 'caller', 'length', 'name'] |
58 FAIL getSortedOwnPropertyNames(isNaN) should be length,name. Was arguments,calle r,length,name. | 58 PASS getSortedOwnPropertyNames(isNaN) is ['arguments', 'caller', 'length', 'name '] |
59 FAIL getSortedOwnPropertyNames(isFinite) should be length,name. Was arguments,ca ller,length,name. | 59 PASS getSortedOwnPropertyNames(isFinite) is ['arguments', 'caller', 'length', 'n ame'] |
60 FAIL getSortedOwnPropertyNames(escape) should be length,name. Was arguments,call er,length,name. | 60 PASS getSortedOwnPropertyNames(escape) is ['arguments', 'caller', 'length', 'nam e'] |
61 FAIL getSortedOwnPropertyNames(unescape) should be length,name. Was arguments,ca ller,length,name. | 61 PASS getSortedOwnPropertyNames(unescape) is ['arguments', 'caller', 'length', 'n ame'] |
62 FAIL getSortedOwnPropertyNames(decodeURI) should be length,name. Was arguments,c aller,length,name. | 62 PASS getSortedOwnPropertyNames(decodeURI) is ['arguments', 'caller', 'length', ' name'] |
63 FAIL getSortedOwnPropertyNames(decodeURIComponent) should be length,name. Was ar guments,caller,length,name. | 63 PASS getSortedOwnPropertyNames(decodeURIComponent) is ['arguments', 'caller', 'l ength', 'name'] |
64 FAIL getSortedOwnPropertyNames(encodeURI) should be length,name. Was arguments,c aller,length,name. | 64 PASS getSortedOwnPropertyNames(encodeURI) is ['arguments', 'caller', 'length', ' name'] |
65 FAIL getSortedOwnPropertyNames(encodeURIComponent) should be length,name. Was ar guments,caller,length,name. | 65 PASS getSortedOwnPropertyNames(encodeURIComponent) is ['arguments', 'caller', 'l ength', 'name'] |
66 FAIL getSortedOwnPropertyNames(Object) should be create,defineProperties,defineP roperty,freeze,getOwnPropertyDescriptor,getOwnPropertyNames,getOwnPropertySymbol s,getPrototypeOf,isExtensible,isFrozen,isSealed,keys,length,name,preventExtensio ns,prototype,seal,setPrototypeOf. Was arguments,caller,create,defineProperties,d efineProperty,deliverChangeRecords,freeze,getNotifier,getOwnPropertyDescriptor,g etOwnPropertyNames,getOwnPropertySymbols,getPrototypeOf,is,isExtensible,isFrozen ,isSealed,keys,length,name,observe,preventExtensions,prototype,seal,setPrototype Of,unobserve. | 66 PASS getSortedOwnPropertyNames(Object) is ['arguments', 'caller', 'create', 'def ineProperties', 'defineProperty', 'deliverChangeRecords', 'freeze', 'getNotifier ', 'getOwnPropertyDescriptor', 'getOwnPropertyNames', 'getOwnPropertySymbols', ' getPrototypeOf', 'is', 'isExtensible', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'observe', 'preventExtensions', 'prototype', 'seal', 'setPrototypeOf', 'unobserve'] |
67 PASS getSortedOwnPropertyNames(Object.prototype) is ['__defineGetter__', '__defi neSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 't oString', 'valueOf'] | 67 PASS getSortedOwnPropertyNames(Object.prototype) is ['__defineGetter__', '__defi neSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 't oString', 'valueOf'] |
68 FAIL getSortedOwnPropertyNames(Function) should be length,name,prototype. Was ar guments,caller,length,name,prototype. | 68 PASS getSortedOwnPropertyNames(Function) is ['arguments', 'caller', 'length', 'n ame', 'prototype'] |
69 FAIL getSortedOwnPropertyNames(Function.prototype) should be apply,bind,call,con structor,length,name,toString. Was apply,arguments,bind,call,caller,constructor, length,name,toString. | 69 PASS getSortedOwnPropertyNames(Function.prototype) is ['apply', 'arguments', 'bi nd', 'call', 'caller', 'constructor', 'length', 'name', 'toString'] |
70 FAIL getSortedOwnPropertyNames(Array) should be isArray,length,name,prototype. W as arguments,caller,isArray,length,name,observe,prototype,unobserve. | 70 PASS getSortedOwnPropertyNames(Array) is ['arguments', 'caller', 'isArray', 'len gth', 'name', 'observe', 'prototype', 'unobserve'] |
71 PASS getSortedOwnPropertyNames(Array.prototype) is ['concat', 'constructor', 'ev ery', 'filter', 'forEach', 'indexOf', 'join', 'lastIndexOf', 'length', 'map', 'p op', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort ', 'splice', 'toLocaleString', 'toString', 'unshift'] | 71 PASS getSortedOwnPropertyNames(Array.prototype) is ['concat', 'constructor', 'ev ery', 'filter', 'forEach', 'indexOf', 'join', 'lastIndexOf', 'length', 'map', 'p op', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort ', 'splice', 'toLocaleString', 'toString', 'unshift'] |
72 FAIL getSortedOwnPropertyNames(String) should be fromCharCode,length,name,protot ype. Was arguments,caller,fromCharCode,length,name,prototype. | 72 PASS getSortedOwnPropertyNames(String) is ['arguments', 'caller', 'fromCharCode' , 'length', 'name', 'prototype'] |
73 PASS getSortedOwnPropertyNames(String.prototype) is ['anchor', 'big', 'blink', ' bold', 'charAt', 'charCodeAt', 'concat', 'constructor', 'fixed', 'fontcolor', 'f ontsize', 'indexOf', 'italics', 'lastIndexOf', 'length', 'link', 'localeCompare' , 'match', 'normalize', 'replace', 'search', 'slice', 'small', 'split', 'strike' , 'sub', 'substr', 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toString', 'toUpperCase', 'trim', 'trimLeft', 'trimRight', 'val ueOf'] | 73 PASS getSortedOwnPropertyNames(String.prototype) is ['anchor', 'big', 'blink', ' bold', 'charAt', 'charCodeAt', 'concat', 'constructor', 'fixed', 'fontcolor', 'f ontsize', 'indexOf', 'italics', 'lastIndexOf', 'length', 'link', 'localeCompare' , 'match', 'normalize', 'replace', 'search', 'slice', 'small', 'split', 'strike' , 'sub', 'substr', 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toString', 'toUpperCase', 'trim', 'trimLeft', 'trimRight', 'val ueOf'] |
74 FAIL getSortedOwnPropertyNames(Boolean) should be length,name,prototype. Was arg uments,caller,length,name,prototype. | 74 PASS getSortedOwnPropertyNames(Boolean) is ['arguments', 'caller', 'length', 'na me', 'prototype'] |
75 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf'] | 75 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf'] |
76 FAIL getSortedOwnPropertyNames(Number) should be MAX_VALUE,MIN_VALUE,NEGATIVE_IN FINITY,NaN,POSITIVE_INFINITY,length,name,prototype. Was EPSILON,MAX_SAFE_INTEGER ,MAX_VALUE,MIN_SAFE_INTEGER,MIN_VALUE,NEGATIVE_INFINITY,NaN,POSITIVE_INFINITY,ar guments,caller,isFinite,isInteger,isNaN,isSafeInteger,length,name,parseFloat,par seInt,prototype. | 76 PASS getSortedOwnPropertyNames(Number) is ['EPSILON', 'MAX_SAFE_INTEGER', 'MAX_V ALUE', 'MIN_SAFE_INTEGER', 'MIN_VALUE', 'NEGATIVE_INFINITY', 'NaN', 'POSITIVE_IN FINITY', 'arguments', 'caller', 'isFinite', 'isInteger', 'isNaN', 'isSafeInteger ', 'length', 'name', 'parseFloat', 'parseInt', 'prototype'] |
77 PASS getSortedOwnPropertyNames(Number.prototype) is ['constructor', 'toExponenti al', 'toFixed', 'toLocaleString', 'toPrecision', 'toString', 'valueOf'] | 77 PASS getSortedOwnPropertyNames(Number.prototype) is ['constructor', 'toExponenti al', 'toFixed', 'toLocaleString', 'toPrecision', 'toString', 'valueOf'] |
78 FAIL getSortedOwnPropertyNames(Date) should be UTC,length,name,now,parse,prototy pe. Was UTC,arguments,caller,length,name,now,parse,prototype. | 78 PASS getSortedOwnPropertyNames(Date) is ['UTC', 'arguments', 'caller', 'length', 'name', 'now', 'parse', 'prototype'] |
79 PASS getSortedOwnPropertyNames(Date.prototype) is ['constructor', 'getDate', 'ge tDay', 'getFullYear', 'getHours', 'getMilliseconds', 'getMinutes', 'getMonth', ' getSeconds', 'getTime', 'getTimezoneOffset', 'getUTCDate', 'getUTCDay', 'getUTCF ullYear', 'getUTCHours', 'getUTCMilliseconds', 'getUTCMinutes', 'getUTCMonth', ' getUTCSeconds', 'getYear', 'setDate', 'setFullYear', 'setHours', 'setMillisecond s', 'setMinutes', 'setMonth', 'setSeconds', 'setTime', 'setUTCDate', 'setUTCFull Year', 'setUTCHours', 'setUTCMilliseconds', 'setUTCMinutes', 'setUTCMonth', 'set UTCSeconds', 'setYear', 'toDateString', 'toGMTString', 'toISOString', 'toJSON', 'toLocaleDateString', 'toLocaleString', 'toLocaleTimeString', 'toString', 'toTim eString', 'toUTCString', 'valueOf'] | 79 PASS getSortedOwnPropertyNames(Date.prototype) is ['constructor', 'getDate', 'ge tDay', 'getFullYear', 'getHours', 'getMilliseconds', 'getMinutes', 'getMonth', ' getSeconds', 'getTime', 'getTimezoneOffset', 'getUTCDate', 'getUTCDay', 'getUTCF ullYear', 'getUTCHours', 'getUTCMilliseconds', 'getUTCMinutes', 'getUTCMonth', ' getUTCSeconds', 'getYear', 'setDate', 'setFullYear', 'setHours', 'setMillisecond s', 'setMinutes', 'setMonth', 'setSeconds', 'setTime', 'setUTCDate', 'setUTCFull Year', 'setUTCHours', 'setUTCMilliseconds', 'setUTCMinutes', 'setUTCMonth', 'set UTCSeconds', 'setYear', 'toDateString', 'toGMTString', 'toISOString', 'toJSON', 'toLocaleDateString', 'toLocaleString', 'toLocaleTimeString', 'toString', 'toTim eString', 'toUTCString', 'valueOf'] |
80 FAIL getSortedOwnPropertyNames(RegExp) should be $&,$',$*,$+,$1,$2,$3,$4,$5,$6,$ 7,$8,$9,$_,$`,input,lastMatch,lastParen,leftContext,length,multiline,name,protot ype,rightContext. Was $&,$',$*,$+,$1,$2,$3,$4,$5,$6,$7,$8,$9,$_,$`,$input,argume nts,caller,input,lastMatch,lastParen,leftContext,length,multiline,name,prototype ,rightContext. | 80 FAIL getSortedOwnPropertyNames(RegExp) should be $&,$',$*,$+,$1,$2,$3,$4,$5,$6,$ 7,$8,$9,$_,$`,arguments,caller,input,lastMatch,lastParen,leftContext,length,mult iline,name,prototype,rightContext. Was $&,$',$*,$+,$1,$2,$3,$4,$5,$6,$7,$8,$9,$_ ,$`,$input,arguments,caller,input,lastMatch,lastParen,leftContext,length,multili ne,name,prototype,rightContext. |
arv (Not doing code reviews)
2014/08/04 19:57:18
I filed a bug about $input
https://code.google.co
| |
81 PASS getSortedOwnPropertyNames(RegExp.prototype) is ['compile', 'constructor', ' exec', 'global', 'ignoreCase', 'lastIndex', 'multiline', 'source', 'test', 'toSt ring'] | 81 PASS getSortedOwnPropertyNames(RegExp.prototype) is ['compile', 'constructor', ' exec', 'global', 'ignoreCase', 'lastIndex', 'multiline', 'source', 'test', 'toSt ring'] |
82 FAIL getSortedOwnPropertyNames(Error) should be length,name,prototype. Was argum ents,caller,captureStackTrace,length,name,prototype,stackTraceLimit. | 82 PASS getSortedOwnPropertyNames(Error) is ['arguments', 'caller', 'captureStackTr ace', 'length', 'name', 'prototype', 'stackTraceLimit'] |
83 PASS getSortedOwnPropertyNames(Error.prototype) is ['constructor', 'message', 'n ame', 'toString'] | 83 PASS getSortedOwnPropertyNames(Error.prototype) is ['constructor', 'message', 'n ame', 'toString'] |
84 FAIL getSortedOwnPropertyNames(Math) should be E,LN10,LN2,LOG10E,LOG2E,PI,SQRT1_ 2,SQRT2,abs,acos,asin,atan,atan2,ceil,cos,exp,floor,log,max,min,pow,random,round ,sin,sqrt,tan. Was E,LN10,LN2,LOG10E,LOG2E,PI,SQRT1_2,SQRT2,abs,acos,acosh,asin, asinh,atan,atan2,atanh,cbrt,ceil,clz32,cos,cosh,exp,expm1,floor,fround,hypot,imu l,log,log10,log1p,log2,max,min,pow,random,round,sign,sin,sinh,sqrt,tan,tanh,trun c. | 84 PASS getSortedOwnPropertyNames(Math) is ['E', 'LN10', 'LN2', 'LOG10E', 'LOG2E', 'PI', 'SQRT1_2', 'SQRT2', 'abs', 'acos', 'acosh', 'asin', 'asinh', 'atan', 'atan 2', 'atanh', 'cbrt', 'ceil', 'clz32', 'cos', 'cosh', 'exp', 'expm1', 'floor', 'f round', 'hypot', 'imul', 'log', 'log10', 'log1p', 'log2', 'max', 'min', 'pow', ' random', 'round', 'sign', 'sin', 'sinh', 'sqrt', 'tan', 'tanh', 'trunc'] |
85 PASS getSortedOwnPropertyNames(JSON) is ['parse', 'stringify'] | 85 PASS getSortedOwnPropertyNames(JSON) is ['parse', 'stringify'] |
86 PASS globalPropertyNames.indexOf('NaN') != -1 is true | 86 PASS globalPropertyNames.indexOf('NaN') != -1 is true |
87 PASS globalPropertyNames.indexOf('Infinity') != -1 is true | 87 PASS globalPropertyNames.indexOf('Infinity') != -1 is true |
88 PASS globalPropertyNames.indexOf('undefined') != -1 is true | 88 PASS globalPropertyNames.indexOf('undefined') != -1 is true |
89 PASS globalPropertyNames.indexOf('parseInt') != -1 is true | 89 PASS globalPropertyNames.indexOf('parseInt') != -1 is true |
90 PASS globalPropertyNames.indexOf('parseFloat') != -1 is true | 90 PASS globalPropertyNames.indexOf('parseFloat') != -1 is true |
91 PASS globalPropertyNames.indexOf('isNaN') != -1 is true | 91 PASS globalPropertyNames.indexOf('isNaN') != -1 is true |
92 PASS globalPropertyNames.indexOf('isFinite') != -1 is true | 92 PASS globalPropertyNames.indexOf('isFinite') != -1 is true |
93 PASS globalPropertyNames.indexOf('escape') != -1 is true | 93 PASS globalPropertyNames.indexOf('escape') != -1 is true |
94 PASS globalPropertyNames.indexOf('unescape') != -1 is true | 94 PASS globalPropertyNames.indexOf('unescape') != -1 is true |
95 PASS globalPropertyNames.indexOf('decodeURI') != -1 is true | 95 PASS globalPropertyNames.indexOf('decodeURI') != -1 is true |
96 PASS globalPropertyNames.indexOf('decodeURIComponent') != -1 is true | 96 PASS globalPropertyNames.indexOf('decodeURIComponent') != -1 is true |
97 PASS globalPropertyNames.indexOf('encodeURI') != -1 is true | 97 PASS globalPropertyNames.indexOf('encodeURI') != -1 is true |
98 PASS globalPropertyNames.indexOf('encodeURIComponent') != -1 is true | 98 PASS globalPropertyNames.indexOf('encodeURIComponent') != -1 is true |
99 PASS globalPropertyNames.indexOf('Object') != -1 is true | 99 PASS globalPropertyNames.indexOf('Object') != -1 is true |
100 PASS globalPropertyNames.indexOf('Function') != -1 is true | 100 PASS globalPropertyNames.indexOf('Function') != -1 is true |
101 PASS globalPropertyNames.indexOf('Array') != -1 is true | 101 PASS globalPropertyNames.indexOf('Array') != -1 is true |
102 PASS globalPropertyNames.indexOf('String') != -1 is true | 102 PASS globalPropertyNames.indexOf('String') != -1 is true |
103 PASS globalPropertyNames.indexOf('Boolean') != -1 is true | 103 PASS globalPropertyNames.indexOf('Boolean') != -1 is true |
104 PASS globalPropertyNames.indexOf('Number') != -1 is true | 104 PASS globalPropertyNames.indexOf('Number') != -1 is true |
105 PASS globalPropertyNames.indexOf('Date') != -1 is true | 105 PASS globalPropertyNames.indexOf('Date') != -1 is true |
106 PASS globalPropertyNames.indexOf('RegExp') != -1 is true | 106 PASS globalPropertyNames.indexOf('RegExp') != -1 is true |
107 PASS globalPropertyNames.indexOf('Error') != -1 is true | 107 PASS globalPropertyNames.indexOf('Error') != -1 is true |
108 PASS globalPropertyNames.indexOf('Math') != -1 is true | 108 PASS globalPropertyNames.indexOf('Math') != -1 is true |
109 PASS globalPropertyNames.indexOf('JSON') != -1 is true | 109 PASS globalPropertyNames.indexOf('JSON') != -1 is true |
110 PASS successfullyParsed is true | 110 PASS successfullyParsed is true |
111 | 111 |
112 TEST COMPLETE | 112 TEST COMPLETE |
113 | 113 |
OLD | NEW |