Bug 501739 - Followup: add a test for the bug in the original patch, as pointed out by review comments.  r=test

--HG--
extra : rebase_source : 9fa3aa0887b8b336f97a58a2f81751b43a76a8e1
Bug 853301 - Make available-locale computation lazier so that creating a global doesn't immediately call into ICU to create mega-sized arrays.  r=till

--HG--
extra : rebase_source : b478e6d6ba001713896d8fe241458047be67b22f
Fix window.focus() in content processes (bug 902715, r=enndeakin).