Closed Bug 1365566 Opened 3 years ago Closed 3 years ago

Use PR_GetSystemInfo to get OS version instead of using system info

Categories

(Core :: Networking, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: schien, Assigned: schien)

References

Details

(Whiteboard: [necko-backlog])

Attachments

(1 file)

As bug 1363421 described, constructing system info might take more time on certain platform. Since nsHttpHandler only needs one information from system info, we can improve the performance by using NSPR API directly.
Whiteboard: [necko-backlog]
Comment on attachment 8868519 [details]
Bug 1365566 - use PR_GetSystemInfo to get OS version on Firefox desktop. .

https://reviewboard.mozilla.org/r/140140/#review143964

Thanks alot for fixing this!
Attachment #8868519 - Flags: review?(dd.mozilla) → review+
Pushed by schien@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9d4c6f246ae6
use PR_GetSystemInfo to get OS version on Firefox desktop. r=dragana.
https://hg.mozilla.org/mozilla-central/rev/9d4c6f246ae6
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.