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

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

Issue 761913002: Ship harmony-strings (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: webkit tests Created 6 years 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
« no previous file with comments | « test/webkit/fast/js/Object-getOwnPropertyNames.js ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2014 the V8 project authors. All rights reserved.
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be
3 # 3 # found in the LICENSE file.
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions
6 # are met:
7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the
11 # documentation and/or other materials provided with the distribution.
12 #
13 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
14 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
17 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20 # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 4
24 Test to ensure correct behaviour of Object.getOwnPropertyNames 5 Test to ensure correct behaviour of Object.getOwnPropertyNames
25 6
26 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 ".
27 8
28 9
29 PASS getSortedOwnPropertyNames({}) is [] 10 PASS getSortedOwnPropertyNames({}) is []
30 PASS getSortedOwnPropertyNames({a:null}) is ['a'] 11 PASS getSortedOwnPropertyNames({a:null}) is ['a']
31 PASS getSortedOwnPropertyNames({a:null, b:null}) is ['a', 'b'] 12 PASS getSortedOwnPropertyNames({a:null, b:null}) is ['a', 'b']
32 PASS getSortedOwnPropertyNames({b:null, a:null}) is ['a', 'b'] 13 PASS getSortedOwnPropertyNames({b:null, a:null}) is ['a', 'b']
(...skipping 29 matching lines...) Expand all
62 PASS getSortedOwnPropertyNames(decodeURI) is ['arguments', 'caller', 'length', ' name'] 43 PASS getSortedOwnPropertyNames(decodeURI) is ['arguments', 'caller', 'length', ' name']
63 PASS getSortedOwnPropertyNames(decodeURIComponent) is ['arguments', 'caller', 'l ength', 'name'] 44 PASS getSortedOwnPropertyNames(decodeURIComponent) is ['arguments', 'caller', 'l ength', 'name']
64 PASS getSortedOwnPropertyNames(encodeURI) is ['arguments', 'caller', 'length', ' name'] 45 PASS getSortedOwnPropertyNames(encodeURI) is ['arguments', 'caller', 'length', ' name']
65 PASS getSortedOwnPropertyNames(encodeURIComponent) is ['arguments', 'caller', 'l ength', 'name'] 46 PASS getSortedOwnPropertyNames(encodeURIComponent) is ['arguments', 'caller', 'l ength', 'name']
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'] 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']
67 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']
68 PASS getSortedOwnPropertyNames(Function) is ['arguments', 'caller', 'length', 'n ame', 'prototype'] 49 PASS getSortedOwnPropertyNames(Function) is ['arguments', 'caller', 'length', 'n ame', 'prototype']
69 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']
70 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']
71 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']
72 PASS getSortedOwnPropertyNames(String) is ['arguments', 'caller', 'fromCharCode' , 'length', 'name', 'prototype'] 53 PASS getSortedOwnPropertyNames(String) is ['arguments', 'caller', 'fromCharCode' , 'fromCodePoint', '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'] 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']
74 PASS getSortedOwnPropertyNames(Boolean) is ['arguments', 'caller', 'length', 'na me', 'prototype'] 55 PASS getSortedOwnPropertyNames(Boolean) is ['arguments', 'caller', 'length', 'na me', 'prototype']
75 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf'] 56 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf']
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'] 57 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'] 58 PASS getSortedOwnPropertyNames(Number.prototype) is ['constructor', 'toExponenti al', 'toFixed', 'toLocaleString', 'toPrecision', 'toString', 'valueOf']
78 PASS getSortedOwnPropertyNames(Date) is ['UTC', 'arguments', 'caller', 'length', 'name', 'now', 'parse', 'prototype'] 59 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'] 60 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 PASS getSortedOwnPropertyNames(RegExp) is ['$&', "$'", '$*', '$+', '$1', '$2', ' $3', '$4', '$5', '$6', '$7', '$8', '$9', '$_', '$`', 'arguments', 'caller', 'inp ut', 'lastMatch', 'lastParen', 'leftContext', 'length', 'multiline', 'name', 'pr ototype', 'rightContext'] 61 PASS getSortedOwnPropertyNames(RegExp) is ['$&', "$'", '$*', '$+', '$1', '$2', ' $3', '$4', '$5', '$6', '$7', '$8', '$9', '$_', '$`', 'arguments', 'caller', 'inp ut', 'lastMatch', 'lastParen', 'leftContext', 'length', 'multiline', 'name', 'pr ototype', 'rightContext']
81 PASS getSortedOwnPropertyNames(RegExp.prototype) is ['compile', 'constructor', ' exec', 'global', 'ignoreCase', 'lastIndex', 'multiline', 'source', 'test', 'toSt ring'] 62 PASS getSortedOwnPropertyNames(RegExp.prototype) is ['compile', 'constructor', ' exec', 'global', 'ignoreCase', 'lastIndex', 'multiline', 'source', 'test', 'toSt ring']
82 PASS getSortedOwnPropertyNames(Error) is ['arguments', 'caller', 'captureStackTr ace', 'length', 'name', 'prototype', 'stackTraceLimit'] 63 PASS getSortedOwnPropertyNames(Error) is ['arguments', 'caller', 'captureStackTr ace', 'length', 'name', 'prototype', 'stackTraceLimit']
83 PASS getSortedOwnPropertyNames(Error.prototype) is ['constructor', 'message', 'n ame', 'toString'] 64 PASS getSortedOwnPropertyNames(Error.prototype) is ['constructor', 'message', 'n ame', 'toString']
(...skipping 20 matching lines...) Expand all
104 PASS globalPropertyNames.indexOf('Number') != -1 is true 85 PASS globalPropertyNames.indexOf('Number') != -1 is true
105 PASS globalPropertyNames.indexOf('Date') != -1 is true 86 PASS globalPropertyNames.indexOf('Date') != -1 is true
106 PASS globalPropertyNames.indexOf('RegExp') != -1 is true 87 PASS globalPropertyNames.indexOf('RegExp') != -1 is true
107 PASS globalPropertyNames.indexOf('Error') != -1 is true 88 PASS globalPropertyNames.indexOf('Error') != -1 is true
108 PASS globalPropertyNames.indexOf('Math') != -1 is true 89 PASS globalPropertyNames.indexOf('Math') != -1 is true
109 PASS globalPropertyNames.indexOf('JSON') != -1 is true 90 PASS globalPropertyNames.indexOf('JSON') != -1 is true
110 PASS successfullyParsed is true 91 PASS successfullyParsed is true
111 92
112 TEST COMPLETE 93 TEST COMPLETE
113 94
OLDNEW
« no previous file with comments | « test/webkit/fast/js/Object-getOwnPropertyNames.js ('k') | tools/gyp/v8.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698