[Webkit-unassigned] [Bug 149496] [GTK] Use mobile user-agent on tablet
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 29 07:57:49 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=149496
--- Comment #1 from Michael Catanzaro <mcatanzaro at gnome.org> ---
We stared discussing this in https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/601#note_853104
Let's have WebKit perform this chassis check. UserAgentGLib.cpp under Source/WebCore/platform/glib would be the best place. Let's also add a ChassisType parameter to UserAgentQuirks::quirksForURL in UserAgentQuirks.[cpp,h] so we can disable quirks that are not appropriate for mobile:
```
// At least finance.yahoo.com displays a mobile version with WebKitGTK's standard user agent.
if (baseDomain == "yahoo.com")
return true;
// taobao.com displays a mobile version with WebKitGTK's standard user agent.
if (baseDomain == "taobao.com")
return true;
```
--
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/20200629/5b31824a/attachment.htm>
More information about the webkit-unassigned
mailing list