Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / sources / debugger / function-details-expected.txt
1 Tests that Debugger.getFunctionDetails command returns correct location. Bug 71808
2
3 Debugger was enabled.
4
5 Running: testGetFirstLineFunctionDetails
6 firstLineFunction type = function
7 Function details: 
8 lineNumber: 5
9 columnNumber: 36
10 scriptId is valid: true
11 functionName: firstLineFunction
12 scopeChain #0: global; <global object properties omitted>
13
14 Running: testGetNonFirstLineFunctionDetails
15 notFirstLineFunction type = function
16 Function details: 
17 lineNumber: 10
18 columnNumber: 32
19 scriptId is valid: true
20 functionName: notFirstLineFunction
21 scopeChain #0: global; <global object properties omitted>
22
23 Running: testGetDetailsOfFunctionWithInferredName
24 obj.m type = function
25 Function details: 
26 lineNumber: 16
27 columnNumber: 15
28 scriptId is valid: true
29 functionName: obj.m
30 scopeChain #0: global; <global object properties omitted>
31
32 Running: testGetDetailsOfFunctionWithDisplayName
33 functionWithDisplayName type = function
34 Function details: 
35 lineNumber: 19
36 columnNumber: 32
37 scriptId is valid: true
38 functionName: user-friendly name
39 scopeChain #0: global; <global object properties omitted>
40
41 Running: testGetDetailsOfFunctionWithDisplayNameGetter
42 functionWithDisplayNameGetter type = function
43 Function details: 
44 lineNumber: 22
45 columnNumber: 38
46 scriptId is valid: true
47 functionName: functionWithDisplayNameGetter
48 scopeChain #0: global; <global object properties omitted>
49
50 Running: testSmallClosure
51 smallClosure type = function
52 Function details: 
53 lineNumber: 25
54 columnNumber: 49
55 scriptId is valid: true
56 functionName: 
57 scopeChain #0: closure; p: "Capybara"
58 scopeChain #1: global; <global object properties omitted>
59
60 Running: testBigClosure
61 bigClosure type = function
62 Function details: 
63 lineNumber: 38
64 columnNumber: 27
65 scriptId is valid: true
66 functionName: 
67 scopeChain #0: catch; ex: <no string representation>
68 scopeChain #1: with; __proto__: <no string representation>,e: 7,f: 5,u: <no value>,v: <no value>
69 scopeChain #2: closure; arguments: <no string representation>,o: <no string representation>,p: <no string representation>
70 scopeChain #3: global; <global object properties omitted>
71 Debugger was disabled.
72