In the wake of recent news of CPU bugs like Meltdown and Spectre which rely on precise(-ish) measurments of elapsed time, I find myself in the mood for disabling things like window.performance.now()
in my browser (apart from other mitigations, obviously).
- Is it possible to disable a particular JS API function in either recent Firefox or Chromium? (Preferably by configuration, but I'm also up for compiling from sources if needed.)
- If so, does it make sense to do so?