Bug 224298 - [GTK] webkit://gpu should print runtime libwpe and wpebackend-fdo versions
Summary: [GTK] webkit://gpu should print runtime libwpe and wpebackend-fdo versions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-07 12:15 PDT by Michael Catanzaro
Modified: 2021-04-07 15:18 PDT (History)
11 users (show)

See Also:


Attachments
Patch (3.22 KB, patch)
2021-04-07 12:33 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2021-04-07 12:15:24 PDT
I just wasted a bunch of time trying to figure out why my Epiphany was using wpebackend-fdo 1.9.1 when I had built 1.9.90. Turns out webkit://gpu is presenting the version it was built against as if it were the version it is using at runtime. That's unhelpful.
Comment 1 Michael Catanzaro 2021-04-07 12:33:49 PDT
Created attachment 425426 [details]
Patch
Comment 2 EWS Watchlist 2021-04-07 12:34:43 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Michael Catanzaro 2021-04-07 12:40:14 PDT
Comment on attachment 425426 [details]
Patch

Note that WPE port already does this nicely for libwpe... it's only a problem for GTK.

(WPE port can't print the backend version because it has no way to do that, but GTK can because it always uses the fdo backend.)
Comment 4 EWS 2021-04-07 15:18:11 PDT
Committed r275634: <https://commits.webkit.org/r275634>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425426 [details].