mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 985980 - Restore off main thread logging for OS.File. r=froydnj
This commit is contained in:
parent
f26077df2b
commit
2bced72af6
@ -108,7 +108,7 @@ exports.defineLazyGetter = defineLazyGetter;
|
||||
* The choice of logger can be overridden with Config.TEST.
|
||||
*/
|
||||
let gLogger;
|
||||
if (typeof console != "undefined" && console.log) {
|
||||
if (typeof window != "undefined" && window.console && console.log) {
|
||||
gLogger = console.log.bind(console, "OS");
|
||||
} else {
|
||||
gLogger = function(...args) {
|
||||
|
Loading…
Reference in New Issue
Block a user