1 Tests that Debugger.getFunctionDetails command returns correct location. Bug 71808
5 Running: testGetFirstLineFunctionDetails
6 firstLineFunction type = function
10 scriptId is valid: true
11 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
21 scopeChain #0: global; <global object properties omitted>
23 Running: testGetDetailsOfFunctionWithInferredName
28 scriptId is valid: true
30 scopeChain #0: global; <global object properties omitted>
32 Running: testGetDetailsOfFunctionWithDisplayName
33 functionWithDisplayName type = function
37 scriptId is valid: true
38 functionName: user-friendly name
39 scopeChain #0: global; <global object properties omitted>
41 Running: testGetDetailsOfFunctionWithDisplayNameGetter
42 functionWithDisplayNameGetter type = function
46 scriptId is valid: true
47 functionName: functionWithDisplayNameGetter
48 scopeChain #0: global; <global object properties omitted>
50 Running: testSmallClosure
51 smallClosure type = function
55 scriptId is valid: true
57 scopeChain #0: closure; p: "Capybara"
58 scopeChain #1: global; <global object properties omitted>
60 Running: testBigClosure
61 bigClosure type = function
65 scriptId is valid: true
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.