Merge pull request #22735 from julienw/1051852-use-domcontentloaded

Bug 1051852 - [Messages] use 'DOMContentLoaded' instead of 'load' to ini...