RESOLVED FIXED305422
tiktok.com: [macOS] Please upgrade to the latest version of your browser - message on upload
https://bugs.webkit.org/show_bug.cgi?id=305422
Summary tiktok.com: [macOS] Please upgrade to the latest version of your browser - me...
Brent Fulgham
Reported 2026-01-13 13:55:48 PST
We have the unfortunate architecture of two separate “Custom User Agent” values governing page loads and the Navigator API (see Bug 305420). One is called customUserAgent, and was the field we populated when fixing the iOS version of this bug. There is also a customUserAgentAsSiteSpecificQuirks field, which happens to be used in the macOS case. Because this value was present, the Navigator API was using it in preference to the customUserAgent field set in WebsitePolicies. This caused my attempted fix in Bug 291113 to start failing as soon as a quirks-level custom URL scheme was set on macOS. For now, I’m just applying the same fix to customUserAgentAsSiteSpecificQuirks (if it exists) so that whichever flavor of custom URL is in place, it is tweaked with the necessary like Chrome/136 string. I will see if we can streamline and simplify the handling of custom User Agent separately in Bug 305420.
Attachments
Brent Fulgham
Comment 1 2026-01-13 13:56:01 PST
Brent Fulgham
Comment 2 2026-01-13 14:34:31 PST
EWS
Comment 3 2026-01-14 12:20:47 PST
Committed 305598@main (f4cfd452ee0a): <https://commits.webkit.org/305598@main> Reviewed commits have been landed. Closing PR #56522 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.