blob: 58874aa405988e4b5e057e438c7baea34138dd75 [file] [log] [blame]
const xhr = new XMLHttpRequest();
// Script should fail and stop execution at this step due to SecurityViolation.
xhr.open("GET", "http://www.google.com");
xhr.send();
self.postMessage("Should not be reached!");