This way copy all properties available in the error object and keep the real stack trace
postMessage
window.open