]> git.proxmox.com Git - mirror_novnc.git/commit
Fix translation util tests
authorSamuel Mannehed <samuel@cendio.se>
Mon, 28 Nov 2016 15:11:47 +0000 (16:11 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Mon, 28 Nov 2016 15:14:55 +0000 (16:14 +0100)
commit77bc3a551bf505c493eb63cfc8a3df1a08e763e3
treed114a88605ad0e4917490098c1a5fffc627dcd1c
parentffa819eec198e2f3934a35b07b963976ca1f7ebd
Fix translation util tests

We have to temporarily replace window.navigator due to the fact that
its property languages is read-only. The tests for the translation
utilities require different values of this property. The failing tests
were added in merge of PR #718 (in commit
f5bf2d84ef1bae02dfaff068de7565664a00fba3).
tests/test.util.js