Issue 2154: Make the console API available in web workers