Re: [whatwg/fetch] Same-origin data-URL flag only for fetch and XHR? (#381)

<script>
window.onerror = function(message, source, lineno, colno, error)
{
    console.log(message +  "\nReceived error from \"" + source + "\". Error location is " + lineno + ":" + colno + ".");
}

var script = document.createElement("script");
script.crossOrigin = "";
script.src = "data:text/script,  throw 'PASS: my error is rich!'";
document.body.appendChild(script);
</script>

Firefox, Chrome and WebKit behave differently.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/381#issuecomment-245056685

Received on Tuesday, 6 September 2016 19:08:50 UTC