Status: Untriaged Owner: john...@chromium.org Labels: Type-Bug Pri-2 Area-WebKit
New issue 32155 by john...@chromium.org: LayoutTest failure : fast/js/Object-getOwnPropertyNames.html
http://code.google.com/p/chromium/issues/detail?id=32155 Test was introduced in http://trac.webkit.org/changeset/53170 Chromium generates all sorts of errors running this test as follows: FAIL getSortedOwnPropertyNames({}) should be . Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames({a:null}) should be a. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames({a:null, b:null}) should be a,b. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames({b:null, a:null}) should be a,b. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames({__proto__:{a:null}}) should be . Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames({__proto__:[1,2,3]}) should be . Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Object.create({}, { 'a': { 'value': 1, 'enumerable': false } })) should be a. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Object.create([1,2,3], { 'a': { 'value': 1, 'enumerable': false } })) should be a. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(new Function()) should be arguments,callee,caller,length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames((function(){var x=new Function();x.__proto__=[1,2,3];return x;})()) should be arguments,callee,caller,length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(new String('')) should be length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(new String('a')) should be 0,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(new String('abc')) should be 0,1,2,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames((function(){var x=new String('');x.__proto__=[1,2,3];return x;})()) should be length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames([]) should be length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames([null]) should be 0,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames([null,null]) should be 0,1,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames([null,null,,,,null]) should be 0,1,5,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames((function(){var x=[];x.__proto__=[1,2,3];return x;})()) should be length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(new Date()) should be . Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames((function(){var x=new Date();x.__proto__=[1,2,3];return x;})()) should be . Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(new RegExp('foo')) should be global,ignoreCase,lastIndex,multiline,source. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames((function(){var x=new RegExp();x.__proto__=[1,2,3];return x;})()) should be global,ignoreCase,lastIndex,multiline,source. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(argumentsObject()) should be callee,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(argumentsObject(1)) should be 0,callee,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(argumentsObject(1,2,3)) should be 0,1,2,callee,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames((function(){arguments.__proto__=[1,2,3];return arguments;})()) should be callee,length. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(parseInt) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(parseFloat) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(isNaN) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(isFinite) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(escape) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(unescape) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(decodeURI) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(decodeURIComponent) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(encodeURI) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(encodeURIComponent) should be length,name. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Object) should be create,defineProperties,defineProperty,getOwnPropertyDescriptor,getOwnPrope rtyNames,getPrototypeOf,keys,length,name,prototype. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Object.prototype) should be __defineGetter__,__defineSetter__,__lookupGetter__,__lookupSetter__,constru ctor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toStr ing,valueOf. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Function) should be length,name,prototype. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Function.prototype) should be apply,call,constructor,length,name,toString. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' FAIL getSortedOwnPropertyNames(Array) should be isArray,length,name,prototype. Threw exception TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNames' -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings
-- Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs