Fix console in content-worker API.
Merge pull request #683 from Mossop/bug821156

Bug 821156 - Fix console in content-worker API. r=@ochameau