So I wonder if the shared memory will be disabled again as it may allow to monitor frequency changes.
From MDN.
"It's important to keep in mind that to mitigate potential security threats such as Spectre, browsers typically round the returned value by some amount in order to be less predictable. This inherently introduces a degree of inaccuracy by limiting the resolution or precision of the timer. For example, Firefox rounds the returned time to 1 millisecond increments."
If you repeat the operation 100 times and time how long that takes, you should either get 3000 or 3100 milliseconds.
I suppose this does mitigate the risk a little, but risks breaking other things. For example, you don't have the simple logic sequence: a < b => round(a) < round(b)
So I'd say "not worth it"
iff |a| < |b| then round(|a|) < = round(|b|)
Why have we gone from 'oh only run programs you trust not anything from the web' to 'oh just run every bit of bloatware out there any time you move around the web?
99% of JS should not exist, 0.9 % of it does anything useful and the other .1% is straight up malicious...
>Unfortunately that includes Javascript, and now that affects virtually everybody.
Debatable -- not because of the goofballs who insist on never running javascript, but because it doesn't have the necessary clock precision available.