3 <script src="resources/profiler-test-JS-resources.js"></script>
5 if (window.layoutTestController) {
6 layoutTestController.dumpAsText();
7 layoutTestController.waitUntilDone();
10 internals.settings.setJavaScriptProfilingEnabled(true);
14 console.profile("Dead time in profile.");
15 setTimeout("endTest()", 1234);
21 <body onload="startTest()">
22 This page's JavaScript Has some dead time in the profile.
25 To run this test manually, load it in the browser then load the WebInspector and look at
26 the profile. In the profile there should be a large amount of the % spent in
28 <div id="output"></div>