OLD | NEW |
1 Checks that inspector reports script compiled in Runtime.evaluate,Runtime.callFu
nctionOn and Runtime.compileScript | 1 Checks that inspector reports script compiled in Runtime.evaluate,Runtime.callFu
nctionOn and Runtime.compileScript |
2 Runtime.evaluate with valid expression | 2 Runtime.evaluate with valid expression |
3 { | 3 { |
4 method : Debugger.scriptParsed | 4 method : Debugger.scriptParsed |
5 params : { | 5 params : { |
6 endColumn : 29 | 6 endColumn : 29 |
7 endLine : 0 | 7 endLine : 0 |
8 executionContextId : <executionContextId> | 8 executionContextId : <executionContextId> |
9 hasSourceURL : true | 9 hasSourceURL : true |
10 hash : 9D04F7335D1661503EAB9AF3EACAF92020803F34 | 10 hash : 9D04F7335D1661503EAB9AF3EACAF92020803F34 |
11 isLiveEdit : false | 11 isLiveEdit : false |
12 isModule : false | 12 isModule : false |
| 13 length : 29 |
13 scriptId : <scriptId> | 14 scriptId : <scriptId> |
14 sourceMapURL : | 15 sourceMapURL : |
15 startColumn : 0 | 16 startColumn : 0 |
16 startLine : 0 | 17 startLine : 0 |
17 url : evaluate.js | 18 url : evaluate.js |
18 } | 19 } |
19 } | 20 } |
20 Runtime.evaluate with syntax error | 21 Runtime.evaluate with syntax error |
21 { | 22 { |
22 method : Debugger.scriptFailedToParse | 23 method : Debugger.scriptFailedToParse |
23 params : { | 24 params : { |
24 endColumn : 39 | 25 endColumn : 39 |
25 endLine : 0 | 26 endLine : 0 |
26 executionContextId : <executionContextId> | 27 executionContextId : <executionContextId> |
27 hasSourceURL : true | 28 hasSourceURL : true |
28 hash : 9BCA34A10E5386925E74C1716C857BEB02821E15 | 29 hash : 9BCA34A10E5386925E74C1716C857BEB02821E15 |
29 isModule : false | 30 isModule : false |
| 31 length : 39 |
30 scriptId : <scriptId> | 32 scriptId : <scriptId> |
31 sourceMapURL : | 33 sourceMapURL : |
32 startColumn : 0 | 34 startColumn : 0 |
33 startLine : 0 | 35 startLine : 0 |
34 url : evaluate-syntax-error.js | 36 url : evaluate-syntax-error.js |
35 } | 37 } |
36 } | 38 } |
37 Runtime.callFunctionOn with valid functionDeclaration | 39 Runtime.callFunctionOn with valid functionDeclaration |
38 { | 40 { |
39 method : Debugger.scriptParsed | 41 method : Debugger.scriptParsed |
40 params : { | 42 params : { |
41 endColumn : 18 | 43 endColumn : 18 |
42 endLine : 0 | 44 endLine : 0 |
43 executionContextId : <executionContextId> | 45 executionContextId : <executionContextId> |
44 hasSourceURL : false | 46 hasSourceURL : false |
45 hash : 9D04CEA1B54DF92A01A0498543D429DC872EBA18 | 47 hash : 9D04CEA1B54DF92A01A0498543D429DC872EBA18 |
46 isLiveEdit : false | 48 isLiveEdit : false |
47 isModule : false | 49 isModule : false |
| 50 length : 18 |
48 scriptId : <scriptId> | 51 scriptId : <scriptId> |
49 sourceMapURL : | 52 sourceMapURL : |
50 startColumn : 0 | 53 startColumn : 0 |
51 startLine : 0 | 54 startLine : 0 |
52 url : | 55 url : |
53 } | 56 } |
54 } | 57 } |
55 Runtime.callFunctionOn with syntax error | 58 Runtime.callFunctionOn with syntax error |
56 { | 59 { |
57 method : Debugger.scriptFailedToParse | 60 method : Debugger.scriptFailedToParse |
58 params : { | 61 params : { |
59 endColumn : 3 | 62 endColumn : 3 |
60 endLine : 0 | 63 endLine : 0 |
61 executionContextId : <executionContextId> | 64 executionContextId : <executionContextId> |
62 hasSourceURL : false | 65 hasSourceURL : false |
63 hash : 9D04D83251E2B7F64CB5762843D429DC872EBA18 | 66 hash : 9D04D83251E2B7F64CB5762843D429DC872EBA18 |
64 isModule : false | 67 isModule : false |
| 68 length : 3 |
65 scriptId : <scriptId> | 69 scriptId : <scriptId> |
66 sourceMapURL : | 70 sourceMapURL : |
67 startColumn : 0 | 71 startColumn : 0 |
68 startLine : 0 | 72 startLine : 0 |
69 url : | 73 url : |
70 } | 74 } |
71 } | 75 } |
72 Runtime.compileScript with valid expression | 76 Runtime.compileScript with valid expression |
73 { | 77 { |
74 method : Debugger.scriptParsed | 78 method : Debugger.scriptParsed |
75 params : { | 79 params : { |
76 endColumn : 4 | 80 endColumn : 4 |
77 endLine : 0 | 81 endLine : 0 |
78 executionContextId : <executionContextId> | 82 executionContextId : <executionContextId> |
79 hasSourceURL : false | 83 hasSourceURL : false |
80 hash : 9D04F733E4E4F1BA4CB5762843D429DC872EBA18 | 84 hash : 9D04F733E4E4F1BA4CB5762843D429DC872EBA18 |
81 isLiveEdit : false | 85 isLiveEdit : false |
82 isModule : false | 86 isModule : false |
| 87 length : 4 |
83 scriptId : <scriptId> | 88 scriptId : <scriptId> |
84 sourceMapURL : | 89 sourceMapURL : |
85 startColumn : 0 | 90 startColumn : 0 |
86 startLine : 0 | 91 startLine : 0 |
87 url : compile-script.js | 92 url : compile-script.js |
88 } | 93 } |
89 } | 94 } |
90 Runtime.compileScript with syntax error | 95 Runtime.compileScript with syntax error |
91 { | 96 { |
92 method : Debugger.scriptFailedToParse | 97 method : Debugger.scriptFailedToParse |
93 params : { | 98 params : { |
94 endColumn : 1 | 99 endColumn : 1 |
95 endLine : 0 | 100 endLine : 0 |
96 executionContextId : <executionContextId> | 101 executionContextId : <executionContextId> |
97 hasSourceURL : false | 102 hasSourceURL : false |
98 hash : FF746120E4E4F1BA4CB5762843D429DC872EBA18 | 103 hash : FF746120E4E4F1BA4CB5762843D429DC872EBA18 |
99 isModule : false | 104 isModule : false |
| 105 length : 1 |
100 scriptId : <scriptId> | 106 scriptId : <scriptId> |
101 sourceMapURL : | 107 sourceMapURL : |
102 startColumn : 0 | 108 startColumn : 0 |
103 startLine : 0 | 109 startLine : 0 |
104 url : compile-script-syntax-error.js | 110 url : compile-script-syntax-error.js |
105 } | 111 } |
106 } | 112 } |
107 Runtime.compileScript persistScript: false (should be no script events) | 113 Runtime.compileScript persistScript: false (should be no script events) |
OLD | NEW |