Bug 195679 - [GLIB] Optimize jsc_value_object_define_property_data|accessor
Summary: [GLIB] Optimize jsc_value_object_define_property_data|accessor
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-03-13 07:46 PDT by Carlos Garcia Campos
Modified: 2019-03-20 07:01 PDT (History)
8 users (show)

See Also:


Attachments
Patch (7.77 KB, patch)
2019-03-13 07:48 PDT, Carlos Garcia Campos
sbarati: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2019-03-13 07:46:16 PDT
We could simply use direct C++ call instead of using the JSC GLib API to create the descriptor object and invoke Object.defineProperty().
Comment 1 Carlos Garcia Campos 2019-03-13 07:48:21 PDT
Created attachment 364533 [details]
Patch
Comment 2 Carlos Garcia Campos 2019-03-20 06:56:00 PDT
Committed r243200: <https://trac.webkit.org/changeset/243200>
Comment 3 Radar WebKit Bug Importer 2019-03-20 07:01:16 PDT
<rdar://problem/49060464>