eb16948 Merge rewritten BATTERY wrappers

Merged and Committed by Libor Polčák 2 years ago
    Merge rewritten BATTERY wrappers
    
    Because we mimic Firefox behaviour, a Chromium derived browser
    becomes more easily fingerprintable. This can be fixed by properly
    wrapping `BatteryManager.prototype` getters and setters.
    
    Note that Chromium was also fingerprintable before the application of
    this merge as we used to delete BatteryManager and
    navigator.getBattery() returned undefine instead of a Promise.
    
        
file modified
+1 -0
file modified
+37 -12