Bug 185952 - Cache navigator.userAgent for performance
Summary: Cache navigator.userAgent for performance
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 188009
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-24 10:43 PDT by Chris Dumez
Modified: 2018-07-25 10:58 PDT (History)
9 users (show)

See Also:


Attachments
Patch (5.05 KB, patch)
2018-05-24 10:51 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2018-05-24 10:43:10 PDT
Cache navigator.userAgent for performance. We currently ask the client 5 times while loading apple.com.
Comment 1 Chris Dumez 2018-05-24 10:51:43 PDT
Created attachment 341207 [details]
Patch
Comment 2 Geoffrey Garen 2018-05-24 11:40:27 PDT
Comment on attachment 341207 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2018-05-24 12:23:19 PDT
Comment on attachment 341207 [details]
Patch

Clearing flags on attachment: 341207

Committed r232159: <https://trac.webkit.org/changeset/232159>
Comment 4 WebKit Commit Bot 2018-05-24 12:23:21 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-05-24 12:24:24 PDT
<rdar://problem/40530246>