jquery.client: Include platform in the profile cache key
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 6 Feb 2014 00:45:07 +0000 (16:45 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 6 Feb 2014 00:50:16 +0000 (16:50 -0800)
commit83fc47889fd3ca1f77eea6aa560c6848ee717b20
tree709f8bb5df7d736e3d70f99d5540cd800ea8bc83
parentd701137df37ba9acb33dbac210b5e3de14fcc16b
jquery.client: Include platform in the profile cache key

When different tests run a similar userAgent string but with
a different platform, it returns an inappropiate cache object

e.g.
 userAgent: Firefox
 platform: Linux x86_64
 -> { platform: 'linux' }
 userAgent: Firefox
 platform: MacIntel
 -> { platform: 'linux' }
 (instead of platform: 'mac' )

Change-Id: Iaf2a5711ace82cbd2b68486e9680c7a6bcb7f9da
resources/jquery/jquery.client.js