blob: e846f3016661adda580fef5ff916ac7492d724e7 [file] [log] [blame]
<!DOCTYPE html>
window.isOnErrorTest = true;
<script src="../../resources/js-test.js"></script>
<script src="resources/onerror-test.js"></script>
<!-- This script's body will be used to build a Blob URL to use as a Worker. -->
<script id="workerCode" type="text/plain">
setTimeout(function() {
throw new Error("Exception in setTimeout callback");
}, 0);
description("This tests that exceptions in setTimeout triggers 'worker.onerror'.");
message: "Uncaught Error: Exception in setTimeout callback",
filename: "[blob: URL]",
lineno: 3,
colno: 19,