1 This page's JavaScript calls the same anonymous function from multiple and differently scoped locations.
3 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 to fakeObject with fakeInteriorFunction as its child, but call() should not be shown.
5 Profile title: Multiple and different scoped calls to the same anonymous function
6 Thread_1 (no file) (line 0)
7 startTest multiple-and-different-scoped-anonymous-function-calls.html (line 11)
8 (anonymous function) profiler-test-JS-resources.js (line 29)
9 insertNewText profiler-test-JS-resources.js (line 17)
10 createElement (no file) (line 0)
11 createTextNode (no file) (line 0)
12 appendChild (no file) (line 0)
13 getElementById (no file) (line 0)
14 intermediaryFunction profiler-test-JS-resources.js (line 32)
15 (anonymous function) profiler-test-JS-resources.js (line 29)
16 insertNewText profiler-test-JS-resources.js (line 17)
17 createElement (no file) (line 0)
18 createTextNode (no file) (line 0)
19 appendChild (no file) (line 0)
20 getElementById (no file) (line 0)
21 endTest profiler-test-JS-resources.js (line 1)
22 (idle) (no file) (line 0)