morgan pushed to branch base-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

3 changed files:

Changes:

  • browser/components/resistfingerprinting/test/browser/browser_navigator.js
    ... ... @@ -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
     
    

  • browser/components/resistfingerprinting/test/browser/browser_navigator_iframes.js
    ... ... @@ -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
     
    

  • toolkit/components/resistfingerprinting/nsRFPService.h
    ... ... @@ -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;