[Webkit-unassigned] [Bug 218122] [GTK] Chassis type check does not work in flatpak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 14 05:59:18 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=218122

--- Comment #4 from Michael Catanzaro <mcatanzaro at gnome.org> ---
We were discussing this today. Instead of implementing a portal to fix the ChassisType check, we should instead delete the code and stop using chassis type. Currently it's only used for setting a mobile user agent header. Instead, we should check window size and touchscreen presence to decide whether to pretend to be a mobile device.

However, WebKit itself does not have enough info to decide whether we are in mobile mode because it doesn't know what window size the browser uses as cutoff to switch between mobile UI vs. desktop UI. So I'm not sure quite how to do this. Some new API will probably be needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221214/4027d42e/attachment.htm>


More information about the webkit-unassigned mailing list