3 <script src=
"resources/profiler-test-JS-resources.js"></script>
5 if (window
.layoutTestController
) {
6 layoutTestController
.dumpAsText();
7 layoutTestController
.setJavaScriptProfilingEnabled(true);
12 console
.profile("A simple profile test where an event happens.");
13 // FIXME: this is not testing what it says it is.
19 <body onload=
"startTest()">
20 This page's JavaScript has an onload event.
23 To run this test manually, load it in the browser then load the WebInspector and look at
24 the profile. There should be only one onload node.
25 <div id=
"output"></div>