|
Line 0
LayoutTests/fast/profiler/name-anonymous-functions-expected.txt_sec1
|
|
|
1 |
CONSOLE MESSAGE: line 23: anonFunc0 |
| 2 |
CONSOLE MESSAGE: line 25: anonFunc1 |
| 3 |
CONSOLE MESSAGE: line 27: anonFunc2 |
| 4 |
CONSOLE MESSAGE: line 31: anonFunc3 |
| 5 |
CONSOLE MESSAGE: line 34: anonFunc4 |
| 6 |
CONSOLE MESSAGE: line 37: anonFunc5 |
| 7 |
CONSOLE MESSAGE: line 42: anonFunc6 |
| 8 |
CONSOLE MESSAGE: line 45: anonFunc7 |
| 9 |
CONSOLE MESSAGE: line 49: anonClass8 |
| 10 |
CONSOLE MESSAGE: line 50: anonFunc9 |
| 11 |
CONSOLE MESSAGE: line 54: nonAnonymousClass10 |
| 12 |
CONSOLE MESSAGE: line 56: anonFunc11 |
| 13 |
This page's JavaScript calls an anonymous function from different contexts. |
| 14 |
|
| 15 |
To use this test, load it in the browser then load the WebInspector and look at the profile. Beneath onload and startTest it should show three children, an anonymous function, script context, and the endTest call. |
| 16 |
|
| 17 |
Profile title: As many different ways we can think of to name an anonymous function. |
| 18 |
Thread_1 (no file) (line 0) |
| 19 |
startTest name-anonymous-functions.html (line 11) |
| 20 |
(anonymous function) profiler-test-JS-resources.js (line 29) |
| 21 |
insertNewText profiler-test-JS-resources.js (line 17) |
| 22 |
createElement (no file) (line 0) |
| 23 |
createTextNode (no file) (line 0) |
| 24 |
appendChild (no file) (line 0) |
| 25 |
getElementById (no file) (line 0) |
| 26 |
eval (no file) (line 0) |
| 27 |
(program) (no file) (line 1) |
| 28 |
(anonymous function) profiler-test-JS-resources.js (line 29) |
| 29 |
insertNewText profiler-test-JS-resources.js (line 17) |
| 30 |
createElement (no file) (line 0) |
| 31 |
createTextNode (no file) (line 0) |
| 32 |
appendChild (no file) (line 0) |
| 33 |
getElementById (no file) (line 0) |
| 34 |
variableThatPointsToAnAnonymousFunction name-anonymous-functions.html (line 17) |
| 35 |
eval (no file) (line 0) |
| 36 |
(program) (no file) (line 1) |
| 37 |
(anonymous function) profiler-test-JS-resources.js (line 29) |
| 38 |
insertNewText profiler-test-JS-resources.js (line 17) |
| 39 |
createElement (no file) (line 0) |
| 40 |
createTextNode (no file) (line 0) |
| 41 |
appendChild (no file) (line 0) |
| 42 |
getElementById (no file) (line 0) |
| 43 |
anonFunc0 name-anonymous-functions.html (line 23) |
| 44 |
log (no file) (line 0) |
| 45 |
myObject.anonFunc1 name-anonymous-functions.html (line 25) |
| 46 |
log (no file) (line 0) |
| 47 |
anonFunc2 name-anonymous-functions.html (line 27) |
| 48 |
log (no file) (line 0) |
| 49 |
anonFunc3 name-anonymous-functions.html (line 31) |
| 50 |
log (no file) (line 0) |
| 51 |
anonFunc4 name-anonymous-functions.html (line 34) |
| 52 |
log (no file) (line 0) |
| 53 |
myObject.anonFunc5 name-anonymous-functions.html (line 37) |
| 54 |
log (no file) (line 0) |
| 55 |
anonFunc6 name-anonymous-functions.html (line 42) |
| 56 |
log (no file) (line 0) |
| 57 |
anonFunc7 name-anonymous-functions.html (line 45) |
| 58 |
log (no file) (line 0) |
| 59 |
anonClass8 name-anonymous-functions.html (line 49) |
| 60 |
log (no file) (line 0) |
| 61 |
anonClass8.prototype.anonFunc9 name-anonymous-functions.html (line 50) |
| 62 |
log (no file) (line 0) |
| 63 |
nonAnonymousClass10 name-anonymous-functions.html (line 54) |
| 64 |
log (no file) (line 0) |
| 65 |
anonFunc11 name-anonymous-functions.html (line 56) |
| 66 |
log (no file) (line 0) |
| 67 |
endTest profiler-test-JS-resources.js (line 1) |
| 68 |
|
| 69 |
|