Bug 224216

Summary: [PlayStation] Provide a non-empty User Agent
Product: WebKit Reporter: Stephan Szabo <stephan.szabo>
Component: WebCore Misc.Assignee: Stephan Szabo <stephan.szabo>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, ross.kirsling, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Stephan Szabo 2021-04-05 17:10:14 PDT
Right now we have a stub that just provides an empty user agent, replace this with code to actually generate a user agent similar to glib ports.
Comment 1 Stephan Szabo 2021-04-06 10:14:06 PDT
Created attachment 425296 [details]
Patch
Comment 2 Stephan Szabo 2021-04-06 13:08:29 PDT
Created attachment 425315 [details]
Patch

Update to use makeString, switch to different getenv thing (other version needs other changes, so want to push to future patch), make versionForUAString constexpr
Comment 3 Ross Kirsling 2021-04-06 13:40:27 PDT
Comment on attachment 425315 [details]
Patch

Seems good now.
Comment 4 EWS 2021-04-07 00:40:45 PDT
Committed r275590: <https://commits.webkit.org/r275590>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425315 [details].
Comment 5 Radar WebKit Bug Importer 2021-04-07 00:41:15 PDT
<rdar://problem/76321233>