1 Tests that Debugger.getFunctionDetails command returns correct location. Bug 71808
4 Running: testGetFirstLineFunctionDetails
5 firstLineFunction type = function
9 scriptId is valid: true
10 functionName: firstLineFunction
12 scopeChain #0: global; <global object properties omitted>
14 Running: testGetNonFirstLineFunctionDetails
15 notFirstLineFunction type = function
19 scriptId is valid: true
20 functionName: notFirstLineFunction
22 scopeChain #0: global; <global object properties omitted>
24 Running: testGetDetailsOfFunctionWithInferredName
29 scriptId is valid: true
32 scopeChain #0: global; <global object properties omitted>
34 Running: testGetDetailsOfFunctionWithDisplayName
35 functionWithDisplayName type = function
39 scriptId is valid: true
40 functionName: user-friendly name
42 scopeChain #0: global; <global object properties omitted>
44 Running: testGetDetailsOfFunctionWithDisplayNameGetter
45 functionWithDisplayNameGetter type = function
49 scriptId is valid: true
50 functionName: functionWithDisplayNameGetter
52 scopeChain #0: global; <global object properties omitted>
54 Running: testSmallClosure
55 smallClosure type = function
59 scriptId is valid: true
62 scopeChain #0: closure; p: "Capybara"
63 scopeChain #1: global; <global object properties omitted>
65 Running: testBigClosure
66 bigClosure type = function
70 scriptId is valid: true
73 scopeChain #0: catch; ex: <no string representation>
74 scopeChain #1: with; __proto__: <no string representation>,e: 7,f: 5,u: <no value>,v: <no value>
75 scopeChain #2: closure; arguments: <no string representation>,o: <no string representation>,p: <no string representation>
76 scopeChain #3: global; <global object properties omitted>