blob: 9f81da37102d387d0ff888ef4f8596cb5921b274 [file] [log] [blame]
<html>
<head>
<script src="../../../http/tests/inspector/inspector-test.js"></script>
<script src="../../../http/tests/inspector/timeline-test.js"></script>
<script>
function performActions()
{
var script = document.createElement("script");
script.textContent = "function noop1() {} \n//# sourceURL=script-content.js";
document.body.appendChild(script);
eval("function noop2() {} \n//# sourceURL=script-content.js");
script = document.createElement("script");
script.src = "timeline-script-tag-2.js";
document.body.appendChild(script);
}
function test()
{
InspectorTest.performActionsAndPrint("performActions()", TimelineModel.TimelineModel.RecordType.CompileScript);
}
</script>
</head>
<body onload="runTest()">
<p>
Tests the Timeline instrumentation for CompileScript event.
</p>
</body>
</html>