| OLD | NEW |
| (Empty) |
| 1 This page's JavaScript calls named functions and changes their display names. | |
| 2 | |
| 3 To run this test manually, load it in the browser then load the WebInspector and
look at the profile. You should see functions named "[x] iteration[s] function"
, and not "function[x]" | |
| 4 | |
| 5 Profile title: Named functions with display names | |
| 6 Thread_1 (no file) (line 0) | |
| 7 startTest named-functions-with-display-names.html (line 54) | |
| 8 0 iterations function named-functions-with-display-names.html (line 11) | |
| 9 1 iteration function named-functions-with-display-names.html (line 18) | |
| 10 2 iterations function named-functions-with-display-names.html (line 25) | |
| 11 20 iterations function named-functions-with-display-names.html (line 32) | |
| 12 1000 iterations function named-functions-with-display-names.html (line 39) | |
| 13 bogusDisplayNameFunction named-functions-with-display-names.html (line 47) | |
| 14 endTest profiler-test-JS-resources.js (line 1) | |
| 15 | |
| 16 | |
| OLD | NEW |