Bug 258860 - [GLib] New API to retrieve runtime environment information
Summary: [GLib] New API to retrieve runtime environment information
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-04 12:07 PDT by Philippe Normand
Modified: 2023-07-05 00:19 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2023-07-04 12:07:28 PDT
Something like this maybe?

gchar* webkit_web_view_runtime_environment_informations(WebKitWebView*)

Any more suitable name?

the return value would basically be the JSON built for webkit://gpu serialized to a string. Or maybe we could return it as some JSON-glib type?
Comment 1 Michael Catanzaro 2023-07-04 13:54:53 PDT
It's not a property of the web view, though, is it?

I wouldn't depend on json-glib. Just returning a string is fine.

How about webkit_get_debugging_information()?
Comment 2 Philippe Normand 2023-07-05 00:19:42 PDT
The current GPU page requires a WebView, to get the hw accel policy and other things.