resourceloader: Optimise startup by merging regexes
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Oct 2016 22:57:44 +0000 (23:57 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 28 Oct 2016 23:13:35 +0000 (00:13 +0100)
commit5d166ebadb7f0e2a42829fd9f3723eef5893abbe
treea69b44f348cb0caa79d4959247623ab3f6607465
parent8803fab2707184a1e26e676afdecff7f296b78d1
resourceloader: Optimise startup by merging regexes

Merge webOS, misc and Google Glass regexes.

* Add various test cases for PlayStation.
* Add tests for unrelated user agent matching "Glass".

Change-Id: Ifb0944d190f230bb36197b22cf3099c187dad091
resources/src/startup.js
tests/qunit/suites/resources/startup.test.js