blob: fa84050d7d0153350e64f564a78746ca1e4258bd [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="../../../http/tests/inspector/resources/inspector-test.js"></script>
<script src="resources/remote-object-utilities.js"></script>
<script>
function test()
{
let steps = [
{expression: `error = null; try { [].x.x; } catch (e) { error = e; }; error`},
{expression: `error = null; try { eval("if()"); } catch (e) { error = e; }; error`},
{expression: `error = null; try { document.createTextNode("").splitText(100); } catch (e) { error = e; }; error`},
];
if (!window.WI) {
window.steps = steps;
return;
}
runSteps(steps);
}
</script>
</head>
<body onload="runTest(); runInBrowserTest();"></body>
</html>