RESOLVED WONTFIX 41875
Allow webkit (and safari) to identify itself running as 32 bit or 64 bit
https://bugs.webkit.org/show_bug.cgi?id=41875
Summary Allow webkit (and safari) to identify itself running as 32 bit or 64 bit
Darth
Reported 2010-07-08 11:09:23 PDT
Webkit and safari running in 64 bit mode should have a different user agent string (or some other property) so that the running mode can easily be detected by javascript. Maybe do something like IE does by adding an x64 in the user agent string.
Attachments
Darth
Comment 1 2010-07-08 11:50:24 PDT
This is not identifying the underlying OS architecture, but rather the browsers own running mode if it is applicable to the platform, ie if the browser has a 32 bit version and 64 bit version and a user can choose which to use.
Sam Weinig
Comment 2 2010-07-08 11:53:33 PDT
Why would this be useful?
Darth
Comment 3 2010-07-08 12:03:27 PDT
(In reply to comment #2) > Why would this be useful? So that when bugs like https://bugs.webkit.org/show_bug.cgi?id=40367 happen, we prevent users from using one specific mode.
Darth
Comment 4 2010-07-08 12:06:42 PDT
(In reply to comment #3) > (In reply to comment #2) > > Why would this be useful? > > So that when bugs like > https://bugs.webkit.org/show_bug.cgi?id=40367 > happen, we prevent users from using one specific mode. Now I understand that this above bug was fixed, but Apple is taking it's own time to release official Safari patches. In the mean time it would have been nice to detect browser running mode and filter out the 32 bit safari and let people use 64 bit safari for apps that are experiencing the math bug.
Alexey Proskuryakov
Comment 5 2010-07-09 12:08:43 PDT
Why not just try the calculation once, and compare the result to expected one?
Darth
Comment 6 2010-07-09 12:37:01 PDT
(In reply to comment #5) > Why not just try the calculation once, and compare the result to expected one? Doing that already. But having a user agent suggesting the running mode makes life easier, just incase the kind of calculations needed change if future issues are different. Thats why was requesting this as an enhancement. Both IE and FF do this on windows (and linux) platform. FF doesn't do it on the Mac because they decided to stick with what Safari does. https://bugzilla.mozilla.org/show_bug.cgi?id=489586
Ahmad Saleem
Comment 7 2022-09-12 15:19:05 PDT
Is it something needed now that macOS is just 64-bit and we don't have Windows Release? Or it is something needed for GTK or other builds? Appreciate if someone comment and tag / mark this bug accordingly. Thanks!
Brent Fulgham
Comment 8 2022-09-12 15:33:45 PDT
We do not want to leak details like CPU bit or other architecture details.
Note You need to log in before you can comment on or make changes to this bug.