I actually fixed this bug a few months ago. Looks like they may need to update Blazor.
So this is for an online dot net demo IDE. Expected something more crazy.
Yeah. the root cause appears to be cross-compiling through WASM or asm.js and not using console.log for printing stuff but the actual window.print() function (which triggers the print dialog).