WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
301723
[GLib API] Function jsc_value_array_buffer_get_data() is not introspectable
https://bugs.webkit.org/show_bug.cgi?id=301723
Summary
[GLib API] Function jsc_value_array_buffer_get_data() is not introspectable
Adrian Perez
Reported
2025-10-30 16:12:29 PDT
GObject Introspection annotations for jsc_value_array_buffer_get_data() are missing: the "size" parameter is not declared as being a return value, and the returned value is missing annotations to indicate the element type (for a bunch of bytes, we need to use guint8) and that the "size" return value indicates the number of bytes pointed by the returned pointer. The issues above prevent the function to be usable from most bindings that use GI data. This issue was reported by Sergey Bugaev, who maintains the Peel C++ bindings generator:
https://gitlab.gnome.org/bugaevc/peel/-/tree/main
Attachments
Add attachment
proposed patch, testcase, etc.
Adrian Perez
Comment 1
2025-10-30 16:40:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/53229
EWS
Comment 2
2025-10-31 02:22:44 PDT
Committed
302377@main
(db4ddb1de583): <
https://commits.webkit.org/302377@main
> Reviewed commits have been landed. Closing PR #53229 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-10-31 02:23:11 PDT
<
rdar://problem/163779814
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug