morgan pushed to branch base-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
dbdddf48
by Pier Angelo Vendrame at 2024-10-02T18:49:35+00:00
3 changed files:
- browser/components/resistfingerprinting/test/browser/browser_navigator.js
- browser/components/resistfingerprinting/test/browser/browser_navigator_iframes.js
- toolkit/components/resistfingerprinting/nsRFPService.h
Changes:
| ... | ... | @@ -115,11 +115,11 @@ const SPOOFED_UA_NAVIGATOR_OS = { |
| 115 | 115 | other: "X11; Linux x86_64",
|
| 116 | 116 | };
|
| 117 | 117 | const SPOOFED_UA_HTTPHEADER_OS = {
|
| 118 | - linux: "Windows NT 10.0",
|
|
| 119 | - win: "Windows NT 10.0",
|
|
| 120 | - macosx: "Windows NT 10.0",
|
|
| 118 | + linux: "Windows NT 10.0; Win64; x64",
|
|
| 119 | + win: "Windows NT 10.0; Win64; x64",
|
|
| 120 | + macosx: "Windows NT 10.0; Win64; x64",
|
|
| 121 | 121 | android: "Android 10; Mobile",
|
| 122 | - other: "Windows NT 10.0",
|
|
| 122 | + other: "Windows NT 10.0; Win64; x64",
|
|
| 123 | 123 | };
|
| 124 | 124 | const SPOOFED_HW_CONCURRENCY = 2;
|
| 125 | 125 |
| ... | ... | @@ -130,11 +130,11 @@ const SPOOFED_UA_NAVIGATOR_OS = { |
| 130 | 130 | other: "X11; Linux x86_64",
|
| 131 | 131 | };
|
| 132 | 132 | const SPOOFED_UA_HTTPHEADER_OS = {
|
| 133 | - linux: "Windows NT 10.0",
|
|
| 134 | - win: "Windows NT 10.0",
|
|
| 135 | - macosx: "Windows NT 10.0",
|
|
| 133 | + linux: "Windows NT 10.0; Win64; x64",
|
|
| 134 | + win: "Windows NT 10.0; Win64; x64",
|
|
| 135 | + macosx: "Windows NT 10.0; Win64; x64",
|
|
| 136 | 136 | android: "Android 10; Mobile",
|
| 137 | - other: "Windows NT 10.0",
|
|
| 137 | + other: "Windows NT 10.0; Win64; x64",
|
|
| 138 | 138 | };
|
| 139 | 139 | const SPOOFED_HW_CONCURRENCY = 2;
|
| 140 | 140 |
| ... | ... | @@ -63,7 +63,7 @@ |
| 63 | 63 | #if defined(MOZ_WIDGET_ANDROID)
|
| 64 | 64 | # define SPOOFED_HTTP_UA_OS "Android 10; Mobile"
|
| 65 | 65 | #else
|
| 66 | -# define SPOOFED_HTTP_UA_OS "Windows NT 10.0"
|
|
| 66 | +# define SPOOFED_HTTP_UA_OS "Windows NT 10.0; Win64; x64"
|
|
| 67 | 67 | #endif
|
| 68 | 68 | |
| 69 | 69 | struct JSContext;
|