Bug 1098955 - Remove InputWindow._getDpx(); use Object.defineProperty to mock window.devicePixelRatio