Bug 258860

Summary: [GLib] New API to retrieve runtime environment information
Product: WebKit Reporter: Philippe Normand <philn>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.