Changeset 281835 in webkit
- Timestamp:
- Aug 31, 2021 5:27:26 PM (11 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/js/Object-getOwnPropertyNames-expected.txt (modified) (1 diff)
-
LayoutTests/js/script-tests/Object-getOwnPropertyNames.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
r281834 r281835 1 2021-08-31 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Enable Object.hasOwn 4 https://bugs.webkit.org/show_bug.cgi?id=229730 5 6 Reviewed by Saam Barati. 7 8 * js/Object-getOwnPropertyNames-expected.txt: 9 * js/script-tests/Object-getOwnPropertyNames.js: 10 1 11 2021-08-31 Ayumi Kojima <ayumi_kojima@apple.com> 2 12 -
trunk/LayoutTests/js/Object-getOwnPropertyNames-expected.txt
r281369 r281835 43 43 PASS getSortedOwnPropertyNames(encodeURI) is ['length', 'name'] 44 44 PASS getSortedOwnPropertyNames(encodeURIComponent) is ['length', 'name'] 45 PASS getSortedOwnPropertyNames(Object) is ['assign', 'create', 'defineProperties', 'defineProperty', 'entries', 'freeze', 'fromEntries', 'getOwnPropertyDescriptor', 'getOwnPropertyDescriptors', 'getOwnPropertyNames', 'getOwnPropertySymbols', 'getPrototypeOf', ' is', 'isExtensible', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'preventExtensions', 'prototype', 'seal', 'setPrototypeOf', 'values']45 PASS getSortedOwnPropertyNames(Object) is ['assign', 'create', 'defineProperties', 'defineProperty', 'entries', 'freeze', 'fromEntries', 'getOwnPropertyDescriptor', 'getOwnPropertyDescriptors', 'getOwnPropertyNames', 'getOwnPropertySymbols', 'getPrototypeOf', 'hasOwn', 'is', 'isExtensible', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'preventExtensions', 'prototype', 'seal', 'setPrototypeOf', 'values'] 46 46 PASS getSortedOwnPropertyNames(Object.prototype) is ['__defineGetter__', '__defineSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf'] 47 47 PASS getSortedOwnPropertyNames(Function) is ['length', 'name', 'prototype'] -
trunk/LayoutTests/js/script-tests/Object-getOwnPropertyNames.js
r281369 r281835 52 52 "encodeURIComponent": "['length', 'name']", 53 53 // Built-in ECMA objects 54 "Object": "['assign', 'create', 'defineProperties', 'defineProperty', 'entries', 'freeze', 'fromEntries', 'getOwnPropertyDescriptor', 'getOwnPropertyDescriptors', 'getOwnPropertyNames', 'getOwnPropertySymbols', 'getPrototypeOf', ' is', 'isExtensible', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'preventExtensions', 'prototype', 'seal', 'setPrototypeOf', 'values']",54 "Object": "['assign', 'create', 'defineProperties', 'defineProperty', 'entries', 'freeze', 'fromEntries', 'getOwnPropertyDescriptor', 'getOwnPropertyDescriptors', 'getOwnPropertyNames', 'getOwnPropertySymbols', 'getPrototypeOf', 'hasOwn', 'is', 'isExtensible', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'preventExtensions', 'prototype', 'seal', 'setPrototypeOf', 'values']", 55 55 "Object.prototype": "['__defineGetter__', '__defineSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf']", 56 56 "Function": "['length', 'name', 'prototype']", -
trunk/Source/JavaScriptCore/ChangeLog
r281826 r281835 1 2021-08-31 Yusuke Suzuki <ysuzuki@apple.com> 2 3 [JSC] Enable Object.hasOwn 4 https://bugs.webkit.org/show_bug.cgi?id=229730 5 6 Reviewed by Saam Barati. 7 8 Enable Object.hasOwn implementation. And cleaning up feature flag list. 9 10 * runtime/OptionsList.h: 11 1 12 2021-08-31 Saam Barati <sbarati@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/OptionsList.h
r281799 r281835 529 529 v(Bool, dumpBaselineJITSizeStatistics, false, Normal, nullptr) \ 530 530 v(Bool, dumpDFGJITSizeStatistics, false, Normal, nullptr) \ 531 \532 /* Feature Flags */\533 \534 v(Bool, useWebAssemblyTypedFunctionReferences, false, Normal, "Allow function types from the wasm typed function references spec.") \535 v(Bool, useWebAssemblyThreading, true, Normal, "Allow instructions from the wasm threading spec.") \536 v(Bool, useAtMethod, true, Normal, "Expose the at() method on Array, %TypedArray%, and String.") \537 v(Bool, useSharedArrayBuffer, false, Normal, nullptr) \538 531 v(Bool, verboseExecutablePoolAllocation, false, Normal, nullptr) \ 539 532 v(Bool, useDataIC, false, Normal, nullptr) \ 540 533 v(Bool, useDataICInOptimizingJIT, false, Normal, nullptr) \ 541 534 v(Bool, useDataICSharing, false, Normal, nullptr) \ 535 \ 536 /* Feature Flags */\ 537 \ 538 v(Bool, useArrayFindLastMethod, true, Normal, "Expose the findLast() and findLastIndex() methods on Array and %TypedArray%.") \ 539 v(Bool, useAtMethod, true, Normal, "Expose the at() method on Array, %TypedArray%, and String.") \ 540 v(Bool, useHasOwn, true, Normal, "Expose the Object.hasOwn method") \ 541 v(Bool, useIntlEnumeration, true, Normal, "Expose the Intl enumeration APIs.") \ 542 v(Bool, useSharedArrayBuffer, false, Normal, nullptr) \ 542 543 v(Bool, useTemporal, false, Normal, "Expose the Temporal object.") \ 543 v(Bool, useArrayFindLastMethod, true, Normal, "Expose the findLast() and findLastIndex() methods on Array and %TypedArray%.") \ 544 v(Bool, useIntlEnumeration, true, Normal, "Expose the Intl enumeration APIs.") \ 545 v(Bool, useHasOwn, false, Normal, "Expose the Object.hasOwn method") \ 544 v(Bool, useWebAssemblyThreading, true, Normal, "Allow instructions from the wasm threading spec.") \ 545 v(Bool, useWebAssemblyTypedFunctionReferences, false, Normal, "Allow function types from the wasm typed function references spec.") \ 546 546 547 547
Note: See TracChangeset
for help on using the changeset viewer.