[Webkit-unassigned] [Bug 149496] [GTK] Use mobile user-agent on tablet

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 30 08:02:36 PDT 2020


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

--- Comment #13 from Jan-Michael Brummer <jan.brummer at tabos.org> ---
I have uploaded a patch which only makes use of /etc/machine-info as DMI is not present on all systems.

Please note that the default is always ChassisType::Desktop to ensure that everything stays the same for all other systems. Only once tablet or handset is detected it is switched to ChassisType::Mobile and the user agent is modified.

In order to test it you can easily switch your chassis type.

Not sure this is an accepted solution, but it is working fine for me.

Flatpak does not mirror this file at the moment, so in both cases (file/portal) flatpak needs to be updated.

-- 
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/20200630/22f992fc/attachment.htm>


More information about the webkit-unassigned mailing list