user.js icon indicating copy to clipboard operation
user.js copied to clipboard

platform architecture fingerprint test time: using the console

Open Thorin-II opened this issue 2 years ago • 7 comments

Any platform, any chip, any recent/current gecko build, bare metal or VM

STR

  • open the console (I use about:config because it allows precision timing)
  • past in the this script and hit enter
  •  function get_arch() {
      let result
      try {
      	const f = new Float32Array([Infinity - Infinity])
      	result = new Uint8Array(f.buffer)[3]
      } catch(e) {
      	result = e+''
      }
      console.log(result)
     }
     get_arch()
    

Tell us the results and hardware/software details. If a VM, also tell us the bare metal details

TIA

Thorin-II avatar Oct 31 '24 02:10 Thorin-II

results

windows 11 64bit (not a VM)
	- FF 64bit = 255, 0.009ms  // nightly 134
	- TB 32bit = 255, 0.009ms  // TB14
macOS 10.14.5 64bit M1
	- FF 64bit = 127, 0.070ms  // 132 (aarch64)
	- TB 64bit = 127, 0.110ms  // TB14

Thorin-II avatar Oct 31 '24 02:10 Thorin-II

255 0 Fedora, x86_64, FF and TB

rusty-snake avatar Oct 31 '24 08:10 rusty-snake

255 0.0175630000885576 debugger eval code:14:11 FF 132.0 (amd64) FreeBSD 14.1

ghost avatar Oct 31 '24 10:10 ghost

Linux testing - Trixie

FF 132 255 0.08538900001440197

Firefox nightly 255 0.07908599999791477

Mullvad browser 12.5.9 255 0

2glops avatar Oct 31 '24 11:10 2glops

  • 255 0.09062900000026275 FF ESR 128.4.0, x86_64, alpine linux
  • 255 0.11189700000068115 FF 132.0 (not a clean profile), x86_64, alpine linux
  • 255 0.0803989999985788 FF DEV 132.0b9, x86_64, alpine linux
  • 127 0 TB 14.0, aarch64, android 8.1.0

sertonix avatar Oct 31 '24 11:10 sertonix

sweeet .. I think you can see where this is going :)

Thorin-II avatar Oct 31 '24 12:10 Thorin-II

https://bugzilla.mozilla.org/show_bug.cgi?id=1928095

Thorin-II avatar Oct 31 '24 16:10 Thorin-II