Changeset 270550 in webkit
- Timestamp:
- Dec 8, 2020 12:15:14 PM (20 months ago)
- Location:
- trunk
- Files:
-
- 8 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/inspector/model/remote-object-get-properties-expected.txt (modified) (4 diffs)
-
LayoutTests/js/Object-getOwnPropertyNames-expected.txt (modified) (1 diff)
-
LayoutTests/js/array-unscopables-properties-expected.txt (modified) (1 diff)
-
LayoutTests/js/script-tests/Object-getOwnPropertyNames.js (modified) (1 diff)
-
LayoutTests/js/script-tests/array-unscopables-properties.js (modified) (1 diff)
-
Source/JavaScriptCore/ChangeLog (modified) (1 diff)
-
Source/JavaScriptCore/runtime/OptionsList.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r270532 r270550 1 2020-12-08 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Enable "at" methods 4 https://bugs.webkit.org/show_bug.cgi?id=219631 5 6 Reviewed by Ross Kirsling. 7 8 * js/Object-getOwnPropertyNames-expected.txt: 9 * js/array-unscopables-properties-expected.txt: 10 * js/script-tests/Object-getOwnPropertyNames.js: 11 * js/script-tests/array-unscopables-properties.js: 12 1 13 2020-12-08 Youenn Fablet <youenn@apple.com> 2 14 -
trunk/LayoutTests/inspector/model/remote-object-get-properties-expected.txt
r268760 r270550 86 86 includes 87 87 copyWithin 88 at 88 89 constructor 89 90 Symbol(Symbol.iterator) … … 139 140 includes 140 141 copyWithin 142 at 141 143 constructor 142 144 Symbol(Symbol.iterator) … … 177 179 includes 178 180 copyWithin 181 at 179 182 constructor 180 183 Symbol(Symbol.iterator) … … 215 218 includes 216 219 copyWithin 220 at 217 221 constructor 218 222 Symbol(Symbol.iterator) -
trunk/LayoutTests/js/Object-getOwnPropertyNames-expected.txt
r268760 r270550 48 48 PASS getSortedOwnPropertyNames(Function.prototype) is ['apply', 'arguments', 'bind', 'call', 'caller', 'constructor', 'length', 'name', 'toString'] 49 49 PASS getSortedOwnPropertyNames(Array) is ['from', 'isArray', 'length', 'name', 'of', 'prototype'] 50 PASS getSortedOwnPropertyNames(Array.prototype) is [' concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift', 'values']50 PASS getSortedOwnPropertyNames(Array.prototype) is ['at', 'concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift', 'values'] 51 51 PASS getSortedOwnPropertyNames(String) is ['fromCharCode', 'fromCodePoint', 'length', 'name', 'prototype', 'raw'] 52 PASS getSortedOwnPropertyNames(String.prototype) is ['anchor', ' big', 'blink', 'bold', 'charAt', 'charCodeAt', 'codePointAt', 'concat', 'constructor', 'endsWith', 'fixed', 'fontcolor', 'fontsize', 'includes', 'indexOf', 'italics', 'lastIndexOf', 'length', 'link', 'localeCompare', 'match', 'matchAll', 'normalize', 'padEnd', 'padStart', 'repeat', 'replace', 'replaceAll', 'search', 'slice', 'small', 'split', 'startsWith', 'strike', 'sub', 'substr', 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toString', 'toUpperCase', 'trim', 'trimEnd', 'trimLeft', 'trimRight', 'trimStart', 'valueOf']52 PASS getSortedOwnPropertyNames(String.prototype) is ['anchor', 'at', 'big', 'blink', 'bold', 'charAt', 'charCodeAt', 'codePointAt', 'concat', 'constructor', 'endsWith', 'fixed', 'fontcolor', 'fontsize', 'includes', 'indexOf', 'italics', 'lastIndexOf', 'length', 'link', 'localeCompare', 'match', 'matchAll', 'normalize', 'padEnd', 'padStart', 'repeat', 'replace', 'replaceAll', 'search', 'slice', 'small', 'split', 'startsWith', 'strike', 'sub', 'substr', 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toString', 'toUpperCase', 'trim', 'trimEnd', 'trimLeft', 'trimRight', 'trimStart', 'valueOf'] 53 53 PASS getSortedOwnPropertyNames(Boolean) is ['length', 'name', 'prototype'] 54 54 PASS getSortedOwnPropertyNames(Boolean.prototype) is ['constructor', 'toString', 'valueOf'] -
trunk/LayoutTests/js/array-unscopables-properties-expected.txt
r268760 r270550 11 11 PASS Object.getOwnPropertyNames(Array.prototype[Symbol.unscopables]) is expectedEntries 12 12 PASS Object.getOwnPropertySymbols(Array.prototype[Symbol.unscopables]) is [] 13 PASS Array.prototype[Symbol.unscopables]["at"] is true 14 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "at").writable is true 15 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "at").enumerable is true 16 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "at").configurable is true 13 17 PASS Array.prototype[Symbol.unscopables]["copyWithin"] is true 14 18 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "copyWithin").writable is true -
trunk/LayoutTests/js/script-tests/Object-getOwnPropertyNames.js
r268760 r270550 57 57 "Function.prototype": "['apply', 'arguments', 'bind', 'call', 'caller', 'constructor', 'length', 'name', 'toString']", 58 58 "Array": "['from', 'isArray', 'length', 'name', 'of', 'prototype']", 59 "Array.prototype": "[' concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift', 'values']",59 "Array.prototype": "['at', 'concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift', 'values']", 60 60 "String": "['fromCharCode', 'fromCodePoint', 'length', 'name', 'prototype', 'raw']", 61 "String.prototype": "['anchor', ' big', 'blink', 'bold', 'charAt', 'charCodeAt', 'codePointAt', 'concat', 'constructor', 'endsWith', 'fixed', 'fontcolor', 'fontsize', 'includes', 'indexOf', 'italics', 'lastIndexOf', 'length', 'link', 'localeCompare', 'match', 'matchAll', 'normalize', 'padEnd', 'padStart', 'repeat', 'replace', 'replaceAll', 'search', 'slice', 'small', 'split', 'startsWith', 'strike', 'sub', 'substr', 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toString', 'toUpperCase', 'trim', 'trimEnd', 'trimLeft', 'trimRight', 'trimStart', 'valueOf']",61 "String.prototype": "['anchor', 'at', 'big', 'blink', 'bold', 'charAt', 'charCodeAt', 'codePointAt', 'concat', 'constructor', 'endsWith', 'fixed', 'fontcolor', 'fontsize', 'includes', 'indexOf', 'italics', 'lastIndexOf', 'length', 'link', 'localeCompare', 'match', 'matchAll', 'normalize', 'padEnd', 'padStart', 'repeat', 'replace', 'replaceAll', 'search', 'slice', 'small', 'split', 'startsWith', 'strike', 'sub', 'substr', 'substring', 'sup', 'toLocaleLowerCase', 'toLocaleUpperCase', 'toLowerCase', 'toString', 'toUpperCase', 'trim', 'trimEnd', 'trimLeft', 'trimRight', 'trimStart', 'valueOf']", 62 62 "Boolean": "['length', 'name', 'prototype']", 63 63 "Boolean.prototype": "['constructor', 'toString', 'valueOf']", -
trunk/LayoutTests/js/script-tests/array-unscopables-properties.js
r268760 r270550 8 8 9 9 let expectedEntries = [ 10 "at", 10 11 "copyWithin", 11 12 "entries", -
trunk/Source/JavaScriptCore/ChangeLog
r270537 r270550 1 2020-12-08 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Enable "at" methods 4 https://bugs.webkit.org/show_bug.cgi?id=219631 5 6 Reviewed by Ross Kirsling. 7 8 This patch enables "at" methods in Array, String, and %TypedArray% by flipping runtime flag. 9 10 * runtime/OptionsList.h: 11 1 12 2020-12-08 Caio Lima <ticaiolima@gmail.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r270208 r270550 496 496 v(Bool, useIntlDateTimeFormatDayPeriod, true, Normal, "Expose the Intl.DateTimeFormat dayPeriod feature.") \ 497 497 v(Bool, useIntlDateTimeFormatRangeToParts, true, Normal, "Expose the Intl.DateTimeFormat#formatRangeToParts feature.") \ 498 v(Bool, useAtMethod, false, Normal, "Expose the at() method on Array and %TypedArray%.") \498 v(Bool, useAtMethod, true, Normal, "Expose the at() method on Array, %TypedArray%, and String.") \ 499 499 v(Bool, useSharedArrayBuffer, false, Normal, nullptr) \ 500 500 v(Bool, useArrayAllocationProfiling, true, Normal, "If true, we will use our normal array allocation profiling. If false, the allocation profile will always claim to be undecided.") \
Note: See TracChangeset
for help on using the changeset viewer.