3 <script src=
"resources/profiler-test-JS-resources.js"></script>
5 if (window
.layoutTestController
) {
6 layoutTestController
.dumpAsText();
7 layoutTestController
.setJavaScriptProfilingEnabled(true);
12 console
.profile("Call Document.write()");
14 document
.write("<div id=\"output\"></div>");
21 <body onload=
"startTest()">
22 This page calls document.write().
25 To run this test manually, load it in the browser then load the WebInspector and look at
26 the profile. If there is a profile it should show write().