mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 22:48:55 +08:00

This qUnit test was failing in Firefox 36 with "setting a property that has only a getter" because devicePixelRatio was being changed directly. The fix uses defineProperty to redefine devicePixelRatio instead.