jquery.client: Recognize IE12 correctly
authorRoan Kattouw <roan.kattouw@gmail.com>
Thu, 4 Dec 2014 02:01:55 +0000 (18:01 -0800)
committerKrinkle <krinklemail@gmail.com>
Fri, 5 Dec 2014 12:22:00 +0000 (12:22 +0000)
commite556ac73e09687ac726510cca6237f2ba93d3bb0
tree5474e6b6b0edbb8eebf7c5375847765ad7c20846
parent9d0f0119c6fd98ae7736c8b11a38fed989b3209d
jquery.client: Recognize IE12 correctly

IE12's User-Agent is, unhelpfully:

Mozilla/5.0 (Windows NT 6.4; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36 Edge/12.0

Unsurprisingly, this is currently recognized as Chrome 36.
The word "Trident" also doesn't appear any more, because IE12's
new layout engine is called "Edge". So look for that string instead.

Change-Id: I94a4ff2cc37ae6ce0c677ef92eeb6a2dff30c1f4
resources/src/jquery/jquery.client.js
tests/qunit/suites/resources/jquery/jquery.client.test.js