blob: ba281ac3d281554e4fa0c0f316a4dd8b7a5c3be5 [file] [log] [blame]
<html>
<head>
<script src="resources/profiler-test-JS-resources.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
internals.setJavaScriptProfilingEnabled(true);
function startTest()
{
console.profile("One Execution Context");
endTest();
}
</script>
</head>
<body onload="startTest()">
This page has a single script tag with some simple JavaScript.
<br>
<br>
To run this test manually, load it in the browser then load the WebInspector and look at
the profile.
<div id="output"></div>
</body>
</html>