Bug 255935 - [JSC] Expand existing property names caching onto Reflect.ownKeys() / Object.getOwnPropertySymbols()
Summary: [JSC] Expand existing property names caching onto Reflect.ownKeys() / Object....
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Alexey Shvayka
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-25 10:58 PDT by Alexey Shvayka
Modified: 2023-04-26 15:51 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvayka 2023-04-25 10:58:42 PDT
Vue.js 3 traps "ownKeys" on all observable objects (except Map / Set) to merely forward the call to Reflect.ownKeys(), and web developers often destructure / call Object.assign() on those Proxy objects.
Comment 1 Radar WebKit Bug Importer 2023-04-25 10:59:18 PDT
<rdar://problem/108512520>
Comment 2 Alexey Shvayka 2023-04-25 11:10:04 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13157
Comment 3 EWS 2023-04-26 15:51:29 PDT
Committed 263441@main (d126a37a66b1): <https://commits.webkit.org/263441@main>

Reviewed commits have been landed. Closing PR #13157 and removing active labels.