2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / profiler / one-execution-context.html
blobdef3c4b6d83a976783e22e82f243be9948dc8bbe
1 <html>
2 <head>
3 <script src="resources/profiler-test-JS-resources.js"></script>
4 <script>
5 if (window.layoutTestController) {
6 layoutTestController.dumpAsText();
7 layoutTestController.setJavaScriptProfilingEnabled(true);
10 function startTest()
12 console.profile("One Execution Context");
13 endTest();
16 </script>
17 </head>
19 <body onload="startTest()">
20 This page has a single script tag with some simple JavaScript.
21 <br>
22 <br>
23 To run this test manually, load it in the browser then load the WebInspector and look at
24 the profile.
25 <div id="output"></div>
26 </body>
27 </html>