[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26355 [Applications/Tor Browser]: Make sure only Windows users on Windows7+ are trying to use Tor Browser based on ESR60



#26355: Make sure only Windows users on Windows7+ are trying to use Tor Browser
based on ESR60
--------------------------------------------+--------------------------
 Reporter:  gk                              |          Owner:  tbb-team
     Type:  enhancement                     |         Status:  new
 Priority:  High                            |      Milestone:
Component:  Applications/Tor Browser        |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  ff60-esr, TorBrowserTeam201806  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+--------------------------

Comment (by mcs):

 Replying to [comment:2 boklm]:
 > So we need to find what is the value of
 `Services.sysinfo.getProperty("version")` on Windows 7.

 The short answer is "6.1".

 The longer answer is that `PR_GetSystemInfo()` is used by
 `Services.sysinfo` to obtain OS version information. On Windows, the
 implementation is in `_MD_WindowsGetSysInfo()` which  constructs a string
 as `dwMajorVersion`.`dwMinorVersion` from a `OSVERSIONINFO` struct that is
 filled in via a call to the Windows API function `GetVersionEx()`. I used
 the Firedox browser console in to obtain the `6.1` answer, and it matches
 the data in the table that is included in the following page:
  https://msdn.microsoft.com/en-
 us/library/windows/desktop/ms724834(v=vs.85).aspx

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26355#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs