Changeset 293348 in webkit
- Timestamp:
- Apr 25, 2022 1:55:17 PM (3 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
r293345 r293348 1 2022-04-22 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Enable change-array-by-copy 4 https://bugs.webkit.org/show_bug.cgi?id=239678 5 6 Reviewed by Saam Barati. 7 8 * inspector/model/remote-object-get-properties-expected.txt: 9 * js/Object-getOwnPropertyNames-expected.txt: 10 * js/array-unscopables-properties-expected.txt: 11 * js/script-tests/Object-getOwnPropertyNames.js: 12 * js/script-tests/array-unscopables-properties.js: 13 1 14 2022-04-25 Chris Fleizach <cfleizach@apple.com> 2 15 -
trunk/LayoutTests/inspector/model/remote-object-get-properties-expected.txt
r288901 r293348 89 89 copyWithin 90 90 at 91 toReversed 92 toSorted 93 toSpliced 94 with 91 95 constructor 92 96 Symbol(Symbol.iterator) … … 145 149 copyWithin 146 150 at 151 toReversed 152 toSorted 153 toSpliced 154 with 147 155 constructor 148 156 Symbol(Symbol.iterator) … … 186 194 copyWithin 187 195 at 196 toReversed 197 toSorted 198 toSpliced 199 with 188 200 constructor 189 201 Symbol(Symbol.iterator) … … 227 239 copyWithin 228 240 at 241 toReversed 242 toSorted 243 toSpliced 244 with 229 245 constructor 230 246 Symbol(Symbol.iterator) -
trunk/LayoutTests/js/Object-getOwnPropertyNames-expected.txt
r288901 r293348 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 ['at', 'concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'findLast', 'findLastIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'to String', 'unshift', 'values']50 PASS getSortedOwnPropertyNames(Array.prototype) is ['at', 'concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'findLast', 'findLastIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toReversed', 'toSorted', 'toSpliced', 'toString', 'unshift', 'values', 'with'] 51 51 PASS getSortedOwnPropertyNames(String) is ['fromCharCode', 'fromCodePoint', 'length', 'name', 'prototype', 'raw'] 52 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'] -
trunk/LayoutTests/js/array-unscopables-properties-expected.txt
r288901 r293348 59 59 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "keys").enumerable is true 60 60 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "keys").configurable is true 61 PASS Array.prototype[Symbol.unscopables]["toReversed"] is true 62 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toReversed").writable is true 63 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toReversed").enumerable is true 64 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toReversed").configurable is true 65 PASS Array.prototype[Symbol.unscopables]["toSorted"] is true 66 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toSorted").writable is true 67 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toSorted").enumerable is true 68 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toSorted").configurable is true 69 PASS Array.prototype[Symbol.unscopables]["toSpliced"] is true 70 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toSpliced").writable is true 71 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toSpliced").enumerable is true 72 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "toSpliced").configurable is true 61 73 PASS Array.prototype[Symbol.unscopables]["values"] is true 62 74 PASS Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "values").writable is true -
trunk/LayoutTests/js/script-tests/Object-getOwnPropertyNames.js
r288901 r293348 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": "['at', 'concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'findLast', 'findLastIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'to String', 'unshift', 'values']",59 "Array.prototype": "['at', 'concat', 'constructor', 'copyWithin', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'findLast', 'findLastIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toReversed', 'toSorted', 'toSpliced', 'toString', 'unshift', 'values', 'with']", 60 60 "String": "['fromCharCode', 'fromCodePoint', 'length', 'name', 'prototype', 'raw']", 61 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']", -
trunk/LayoutTests/js/script-tests/array-unscopables-properties.js
r288901 r293348 20 20 "includes", 21 21 "keys", 22 "values" 22 "toReversed", 23 "toSorted", 24 "toSpliced", 25 "values", 23 26 ]; 24 27 shouldBe("Object.getOwnPropertyNames(Array.prototype[Symbol.unscopables])", "expectedEntries"); -
trunk/Source/JavaScriptCore/ChangeLog
r293324 r293348 1 2022-04-22 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Enable change-array-by-copy 4 https://bugs.webkit.org/show_bug.cgi?id=239678 5 6 Reviewed by Saam Barati. 7 8 * runtime/OptionsList.h: 9 1 10 2022-04-25 Claudio Saavedra <csaavedra@igalia.com> 2 11 -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r292778 r293348 541 541 v(Bool, useArrayGroupByMethod, false, Normal, "Expose the groupBy() and groupByToMap() methods on Array.") \ 542 542 v(Bool, useAtMethod, true, Normal, "Expose the at() method on Array, %TypedArray%, and String.") \ 543 v(Bool, useChangeArrayByCopyMethods, false, Normal, "Expose the withAt(), withReversed(), withSorted() and withSpliced() methods on Array and %TypedArray%.") \543 v(Bool, useChangeArrayByCopyMethods, true, Normal, "Expose the withAt(), withReversed(), withSorted() and withSpliced() methods on Array and %TypedArray%.") \ 544 544 v(Bool, useHasOwn, true, Normal, "Expose the Object.hasOwn method") \ 545 545 v(Bool, useImportAssertion, false, Normal, "Enable import assertion.") \
Note: See TracChangeset
for help on using the changeset viewer.