| OLD | NEW |
| (Empty) |
| 1 This page's JavaScript calls the different anonymous functions the same scope. | |
| 2 | |
| 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 two entries named to
(anonymous function), as opposed to one entry called twice. | |
| 4 | |
| 5 Profile title: Multiple calls to different anonymous functions | |
| 6 Thread_1 (no file) (line 0) | |
| 7 startTest multiple-anonymous-functions-called-from-the-same-function.html (li
ne 11) | |
| 8 anonymousFunction 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 anotherAnonymousFunction profiler-test-JS-resources.js (line 30) | |
| 15 insertGivenText profiler-test-JS-resources.js (line 9) | |
| 16 createElement (no file) (line 0) | |
| 17 createTextNode (no file) (line 0) | |
| 18 appendChild (no file) (line 0) | |
| 19 getElementById (no file) (line 0) | |
| 20 endTest profiler-test-JS-resources.js (line 1) | |
| 21 | |
| 22 | |
| OLD | NEW |