1 This page's JavaScript starts profiling from within a function which is then called later from another context.
3 To run this test manually, load it in the browser then load the WebInspector and look at the profile. In the profiler you should see a call to indirection() and functionWichStartsAndStopsTheProfiler()
5 Profile title: Calling the same function where the profile started from another function
6 Thread_1 (no file) (line 0)
7 indirection calling-the-function-that-started-the-profiler-from-another-scope.html (line 18)
8 functionWichStartsAndStopsTheProfiler calling-the-function-that-started-the-profiler-from-another-scope.html (line 24)
9 functionWichStartsAndStopsTheProfiler calling-the-function-that-started-the-profiler-from-another-scope.html (line 24)
10 endTest profiler-test-JS-resources.js (line 1)
11 (idle) (no file) (line 0)