Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: test/webkit/fast/js/Object-getOwnPropertyNames-expected.txt

Issue 1027283004: [es6] do not add caller/arguments to ES6 function definitions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase + test262 exceptions Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 the V8 project authors. All rights reserved. 1 # Copyright 2014 the V8 project authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 Test to ensure correct behaviour of Object.getOwnPropertyNames 5 Test to ensure correct behaviour of Object.getOwnPropertyNames
6 6
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 8
9 9
10 PASS getSortedOwnPropertyNames({}) is [] 10 PASS getSortedOwnPropertyNames({}) is []
(...skipping 20 matching lines...) Expand all
31 PASS getSortedOwnPropertyNames(new RegExp('foo')) is ['global', 'ignoreCase', 'l astIndex', 'multiline', 'source'] 31 PASS getSortedOwnPropertyNames(new RegExp('foo')) is ['global', 'ignoreCase', 'l astIndex', 'multiline', 'source']
32 PASS getSortedOwnPropertyNames((function(){var x=new RegExp();x.__proto__=[1,2,3 ];return x;})()) is ['global', 'ignoreCase', 'lastIndex', 'multiline', 'source'] 32 PASS getSortedOwnPropertyNames((function(){var x=new RegExp();x.__proto__=[1,2,3 ];return x;})()) is ['global', 'ignoreCase', 'lastIndex', 'multiline', 'source']
33 PASS getSortedOwnPropertyNames(argumentsObject()) is ['callee', 'length'] 33 PASS getSortedOwnPropertyNames(argumentsObject()) is ['callee', 'length']
34 PASS getSortedOwnPropertyNames(argumentsObject(1)) is ['0', 'callee', 'length'] 34 PASS getSortedOwnPropertyNames(argumentsObject(1)) is ['0', 'callee', 'length']
35 PASS getSortedOwnPropertyNames(argumentsObject(1,2,3)) is ['0', '1', '2', 'calle e', 'length'] 35 PASS getSortedOwnPropertyNames(argumentsObject(1,2,3)) is ['0', '1', '2', 'calle e', 'length']
36 PASS getSortedOwnPropertyNames((function(){arguments.__proto__=[1,2,3];return ar guments;})()) is ['callee', 'length'] 36 PASS getSortedOwnPropertyNames((function(){arguments.__proto__=[1,2,3];return ar guments;})()) is ['callee', 'length']
37 PASS getSortedOwnPropertyNames(parseInt) is ['arguments', 'caller', 'length', 'n ame'] 37 PASS getSortedOwnPropertyNames(parseInt) is ['arguments', 'caller', 'length', 'n ame']
38 PASS getSortedOwnPropertyNames(parseFloat) is ['arguments', 'caller', 'length', 'name'] 38 PASS getSortedOwnPropertyNames(parseFloat) is ['arguments', 'caller', 'length', 'name']
39 PASS getSortedOwnPropertyNames(isNaN) is ['arguments', 'caller', 'length', 'name '] 39 PASS getSortedOwnPropertyNames(isNaN) is ['arguments', 'caller', 'length', 'name ']
40 PASS getSortedOwnPropertyNames(isFinite) is ['arguments', 'caller', 'length', 'n ame'] 40 PASS getSortedOwnPropertyNames(isFinite) is ['arguments', 'caller', 'length', 'n ame']
41 PASS getSortedOwnPropertyNames(escape) is ['arguments', 'caller', 'length', 'nam e'] 41 PASS getSortedOwnPropertyNames(escape) is ['length', 'name']
42 PASS getSortedOwnPropertyNames(unescape) is ['arguments', 'caller', 'length', 'n ame'] 42 PASS getSortedOwnPropertyNames(unescape) is ['length', 'name']
43 PASS getSortedOwnPropertyNames(decodeURI) is ['arguments', 'caller', 'length', ' name'] 43 PASS getSortedOwnPropertyNames(decodeURI) is ['length', 'name']
44 PASS getSortedOwnPropertyNames(decodeURIComponent) is ['arguments', 'caller', 'l ength', 'name'] 44 PASS getSortedOwnPropertyNames(decodeURIComponent) is ['length', 'name']
45 PASS getSortedOwnPropertyNames(encodeURI) is ['arguments', 'caller', 'length', ' name'] 45 PASS getSortedOwnPropertyNames(encodeURI) is ['length', 'name']
46 PASS getSortedOwnPropertyNames(encodeURIComponent) is ['arguments', 'caller', 'l ength', 'name'] 46 PASS getSortedOwnPropertyNames(encodeURIComponent) is ['length', 'name']
47 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'] 47 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']
48 PASS getSortedOwnPropertyNames(Object.prototype) is ['__defineGetter__', '__defi neSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 't oString', 'valueOf'] 48 PASS getSortedOwnPropertyNames(Object.prototype) is ['__defineGetter__', '__defi neSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 't oString', 'valueOf']
49 PASS getSortedOwnPropertyNames(Function) is ['arguments', 'caller', 'length', 'n ame', 'prototype'] 49 PASS getSortedOwnPropertyNames(Function) is ['arguments', 'caller', 'length', 'n ame', 'prototype']
50 PASS getSortedOwnPropertyNames(Function.prototype) is ['apply', 'arguments', 'bi nd', 'call', 'caller', 'constructor', 'length', 'name', 'toString'] 50 PASS getSortedOwnPropertyNames(Function.prototype) is ['apply', 'arguments', 'bi nd', 'call', 'caller', 'constructor', 'length', 'name', 'toString']
51 PASS getSortedOwnPropertyNames(Array) is ['arguments', 'caller', 'isArray', 'len gth', 'name', 'observe', 'prototype', 'unobserve'] 51 PASS getSortedOwnPropertyNames(Array) is ['arguments', 'caller', 'isArray', 'len gth', 'name', 'observe', 'prototype', 'unobserve']
52 PASS getSortedOwnPropertyNames(Array.prototype) is ['concat', 'constructor', 'en tries', 'every', 'filter', 'forEach', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'sl ice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift'] 52 PASS getSortedOwnPropertyNames(Array.prototype) is ['concat', 'constructor', 'en tries', 'every', 'filter', 'forEach', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'sl ice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift']
53 PASS getSortedOwnPropertyNames(String) is ['arguments', 'caller', 'fromCharCode' , 'fromCodePoint', 'length', 'name', 'prototype', 'raw'] 53 PASS getSortedOwnPropertyNames(String) is ['arguments', 'caller', 'fromCharCode' , 'fromCodePoint', 'length', 'name', 'prototype', 'raw']
54 PASS getSortedOwnPropertyNames(String.prototype) is ['anchor', 'big', 'blink', ' bold', 'charAt', 'charCodeAt', 'codePointAt', 'concat', 'constructor', 'endsWith ', 'fixed', 'fontcolor', 'fontsize', 'includes', 'indexOf', 'italics', 'lastInde xOf', 'length', 'link', 'localeCompare', 'match', 'normalize', 'repeat', 'replac e', 'search', 'slice', 'small', 'split', 'startsWith', 'strike', 'sub', 'substr' , 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', ' toString', 'toUpperCase', 'trim', 'trimLeft', 'trimRight', 'valueOf'] 54 PASS getSortedOwnPropertyNames(String.prototype) is ['anchor', 'big', 'blink', ' bold', 'charAt', 'charCodeAt', 'codePointAt', 'concat', 'constructor', 'endsWith ', 'fixed', 'fontcolor', 'fontsize', 'includes', 'indexOf', 'italics', 'lastInde xOf', 'length', 'link', 'localeCompare', 'match', 'normalize', 'repeat', 'replac e', 'search', 'slice', 'small', 'split', 'startsWith', 'strike', 'sub', 'substr' , 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', ' toString', 'toUpperCase', 'trim', 'trimLeft', 'trimRight', 'valueOf']
55 PASS getSortedOwnPropertyNames(Boolean) is ['arguments', 'caller', 'length', 'na me', 'prototype'] 55 PASS getSortedOwnPropertyNames(Boolean) is ['arguments', 'caller', 'length', 'na me', 'prototype']
56 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf'] 56 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf']
(...skipping 28 matching lines...) Expand all
85 PASS globalPropertyNames.indexOf('Number') != -1 is true 85 PASS globalPropertyNames.indexOf('Number') != -1 is true
86 PASS globalPropertyNames.indexOf('Date') != -1 is true 86 PASS globalPropertyNames.indexOf('Date') != -1 is true
87 PASS globalPropertyNames.indexOf('RegExp') != -1 is true 87 PASS globalPropertyNames.indexOf('RegExp') != -1 is true
88 PASS globalPropertyNames.indexOf('Error') != -1 is true 88 PASS globalPropertyNames.indexOf('Error') != -1 is true
89 PASS globalPropertyNames.indexOf('Math') != -1 is true 89 PASS globalPropertyNames.indexOf('Math') != -1 is true
90 PASS globalPropertyNames.indexOf('JSON') != -1 is true 90 PASS globalPropertyNames.indexOf('JSON') != -1 is true
91 PASS successfullyParsed is true 91 PASS successfullyParsed is true
92 92
93 TEST COMPLETE 93 TEST COMPLETE
94 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698