Allowing the userAgent string to be overridden in the JS library greatly simplifies testing (as you can see from the diff here). The old testing code doesn't even work in Firefox and probably others.
There are probably other use cases where this could come in handy. And it adds very little to the JS payload.
Allowing the userAgent string to be overridden in the JS library greatly simplifies testing (as you can see from the diff here). The old testing code doesn't even work in Firefox and probably others.
There are probably other use cases where this could come in handy. And it adds very little to the JS payload.