You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newer version of globalVars uses a revised RegExp as follows:
(/(iPad|iPhone|iPod).* os 9_/ui).test(navigator.userAgent)
The u (unicode) flag is new for ES6. This new RegExp fails to instantiate in older browsers, causing poorIndexedDbSupport not to be detected in, for example, Safari on IOS 9.
new RegExp("(iPad|iPhone|iPod).* os 9_", "ui")
SyntaxError: Invalid flags supplied to RegExp constructor.
(/(iPad|iPhone|iPod).* os 9_/ui).test(navigator.userAgent)
SyntaxError: Invalid flag supplied to RegExp constructor.
Suggested resolution is to remove the u flag to enable the RegExp to work as expected.
The text was updated successfully, but these errors were encountered:
The newer version of globalVars uses a revised RegExp as follows:
(/(iPad|iPhone|iPod).* os 9_/ui).test(navigator.userAgent)
The u (unicode) flag is new for ES6. This new RegExp fails to instantiate in older browsers, causing poorIndexedDbSupport not to be detected in, for example, Safari on IOS 9.
Suggested resolution is to remove the u flag to enable the RegExp to work as expected.
The text was updated successfully, but these errors were encountered: