Tests: Move Android user agent detection above iOS, put Safari last
commit6276cb2e23375c1f2837b34bd9072ef804f996f1
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 23 Sep 2019 18:00:24 +0000 (23 20:00 +0200)
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 23 Sep 2019 22:46:21 +0000 (24 00:46 +0200)
treede4175c3c64af21ba11b4ac53e8617744f43e160
parent8167327fd940c420854b68f425a84207abf3c44f
Tests: Move Android user agent detection above iOS, put Safari last

Android was catching the generic iOS regex. Checking for Android first should
eliminate that issue as iOS user agents don't contain the word "Android".
Putting Safari last makes Android UAs not be tested against it.
test/unit/support.js