| <script src="resources/profiler-test-JS-resources.js"></script> |
| internals.setJavaScriptProfilingEnabled(true); |
| console.profile("Multiple calls to different anonymous functions"); |
| anotherAnonymousFunction(); |
| <body onload="startTest()"> |
| This page's JavaScript calls the different anonymous functions the same scope. |
| To run this test manually, load it in the browser then load the WebInspector and look at |
| the profile. In the profile there should be a call two entries named to (anonymous function), |
| as opposed to one entry called twice. |