We need a mechanism to override user agent string just for navigator.userAgent without affecting UA string we send to the server.
<rdar://problem/47504939>
Created attachment 359993 [details] WIP
Created attachment 360088 [details] Adds a mechanism
Ping reviewers.
Comment on attachment 360088 [details] Adds a mechanism Could the test confirm that we get standard WebKit UA in headers, instead of using two custom user agents? Otherwise, looks good, but I think a loader person should give a final sign-off.
(In reply to Brent Fulgham from comment #5) > Comment on attachment 360088 [details] > Adds a mechanism > > Could the test confirm that we get standard WebKit UA in headers, instead of > using two custom user agents? I guess I can add another test for that.
Created attachment 360217 [details] Added another test case
Comment on attachment 360217 [details] Added another test case Looks great! r=me
Comment on attachment 360217 [details] Added another test case Attachment 360217 [details] did not pass mac-wk2-ews (mac-wk2): Output: https://webkit-queues.webkit.org/results/10897704 New failing tests: http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavailable.html
Created attachment 360223 [details] Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Committed r240541: <https://trac.webkit.org/changeset/240541>