[webkit-changes] [WebKit/WebKit] c710e9: Add Spotify to the desktop class quirks list
Brent Fulgham
noreply at github.com
Wed Feb 7 21:40:26 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c710e9dd3240943ddeca3f902c0b7aefbbf15caa
https://github.com/WebKit/WebKit/commit/c710e9dd3240943ddeca3f902c0b7aefbbf15caa
Author: Brent Fulgham <bfulgham at apple.com>
Date: 2024-02-07 (Wed, 07 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm
Log Message:
-----------
Add Spotify to the desktop class quirks list
https://bugs.webkit.org/show_bug.cgi?id=268928
<rdar://121414876>
Reviewed by Wenson Hsieh and Chris Dumez.
It is nearly impossible to use the volume control or playback scrubber
in Spotify in Safari. They don't expect a desktop with touch support.
Spotify removed the scrubber features on iOS back in 2016 (https://community.spotify.com/t5/iOS-iPhone-iPad/Audio-scrubber-is-gone-in-latest-update-Why/td-p/1311946
This patch presents Safari to Spotify as a mobile User Agent so that we
get the best "touch" version of the website.
* Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm:
(WebKit::desktopClassBrowsingRecommendedForRequest):
Canonical link: https://commits.webkit.org/274268@main
More information about the webkit-changes
mailing list