| <script src="resources/profiler-test-JS-resources.js"></script> |
| internals.setJavaScriptProfilingEnabled(true); |
| console.profile("Start the profiler the first time."); |
| console.profile("Start the profiler the second time."); |
| console.profile("Start the profiler the third time."); |
| <body onload="startTest()"> |
| This page's JavaScript calls console.profile() and console.profileEnd() three times. |
| To run this test manually, load it in the browser then load the WebInspector and look at |
| the profile. In the profiler there should be three profiles. |