mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 22:06:02 +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.