Bug 1397977 Comment 9 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Considering shipping the following polling workaround in Unity, not sure of the performance implications:

```js
	// Work around Firefox bug on Windows:
	// https://bugzilla.mozilla.org/show_bug.cgi?id=1397977, devicechange
	// events do not fire, so resort to polling for device changes once every
	// 60 seconds.
	if (/Firefox/.test(navigator.userAgent)) {
		setInterval(test, 60);
	}
```
Maybe this will cause stuttering on Unity content on Windows, but cannot think of any other way to resolve.
Considering shipping the following polling workaround in Unity, not sure of the performance implications:

```js
	// Work around Firefox bug on Windows:
	// https://bugzilla.mozilla.org/show_bug.cgi?id=1397977, devicechange
	// events do not fire, so resort to polling for device changes once every
	// 60 seconds.
	if (/Firefox/.test(navigator.userAgent)) {
		setInterval(test, 60000);
	}
```
Maybe this will cause stuttering on Unity content on Windows, but cannot think of any other way to resolve.

Back to Bug 1397977 Comment 9