Bug 258860
| Summary: | [GLib] New API to retrieve runtime environment information | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Philippe Normand
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?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
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()?
Philippe Normand
The current GPU page requires a WebView, to get the hw accel policy and other things.