Merge pull request #9458 from ochameau/in-browser

Bug 866702 - Decouple DEBUG=1 from Firefox desktop compatibility helpers r=@vingtetun