This may cause unit test to fail.
Should assign it an empty function when navigator.mozL10n is not available?