Bug 1000172 - Prevent scripts defining global from being removed during the optimization
Merge pull request #18587 from crh0716/1000172

Bug 1000172 - Prevent scripts defining global from being removed during the optimization r=evelyn
Bug 973445 - [settings] refactor Sound panel with AMD pattern

- add tone tests