Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 Checks correctness of promise chains when limit hit | |
| 2 inspector.setMaxAsyncTaskStacks(3) | |
| 3 Run expression 'console.trace()' with async chain len: 3 | |
| 4 { | |
| 5 method : Runtime.consoleAPICalled | |
| 6 params : { | |
| 7 args : [ | |
| 8 [0] : { | |
| 9 type : string | |
| 10 value : console.trace | |
| 11 } | |
| 12 ] | |
| 13 executionContextId : <executionContextId> | |
| 14 stackTrace : { | |
| 15 callFrames : [ | |
| 16 [0] : { | |
| 17 columnNumber : 67 | |
| 18 functionName : Promise.resolve.then.then.then | |
| 19 lineNumber : 0 | |
| 20 scriptId : <scriptId> | |
| 21 url : | |
| 22 } | |
| 23 ] | |
| 24 } | |
| 25 timestamp : <timestamp> | |
| 26 type : trace | |
| 27 } | |
| 28 } | |
| 29 inspector.setMaxAsyncTaskStacks(4) | |
| 30 Run expression 'console.trace()' with async chain len: 3 | |
| 31 { | |
| 32 method : Runtime.consoleAPICalled | |
| 33 params : { | |
| 34 args : [ | |
| 35 [0] : { | |
| 36 type : string | |
| 37 value : console.trace | |
| 38 } | |
| 39 ] | |
| 40 executionContextId : <executionContextId> | |
| 41 stackTrace : { | |
| 42 callFrames : [ | |
| 43 [0] : { | |
| 44 columnNumber : 67 | |
| 45 functionName : Promise.resolve.then.then.then | |
| 46 lineNumber : 0 | |
| 47 scriptId : <scriptId> | |
| 48 url : | |
| 49 } | |
| 50 ] | |
| 51 parent : { | |
| 52 callFrames : [ | |
| 53 ] | |
| 54 description : Promise.resolve | |
| 55 promiseCreationFrame : { | |
| 56 columnNumber : 46 | |
| 57 functionName : | |
| 58 lineNumber : 0 | |
| 59 scriptId : <scriptId> | |
| 60 url : | |
| 61 } | |
| 62 } | |
| 63 } | |
| 64 timestamp : <timestamp> | |
| 65 type : trace | |
| 66 } | |
| 67 } | |
| 68 inspector.setMaxAsyncTaskStacks(5) | |
| 69 Run expression 'console.trace()' with async chain len: 3 | |
| 70 { | |
| 71 method : Runtime.consoleAPICalled | |
| 72 params : { | |
| 73 args : [ | |
| 74 [0] : { | |
| 75 type : string | |
| 76 value : console.trace | |
| 77 } | |
| 78 ] | |
| 79 executionContextId : <executionContextId> | |
| 80 stackTrace : { | |
| 81 callFrames : [ | |
| 82 [0] : { | |
| 83 columnNumber : 67 | |
| 84 functionName : Promise.resolve.then.then.then | |
| 85 lineNumber : 0 | |
| 86 scriptId : <scriptId> | |
| 87 url : | |
| 88 } | |
| 89 ] | |
| 90 parent : { | |
| 91 callFrames : [ | |
| 92 ] | |
| 93 description : Promise.resolve | |
| 94 parent : { | |
| 95 callFrames : [ | |
| 96 ] | |
| 97 description : Promise.resolve | |
| 98 promiseCreationFrame : { | |
| 99 columnNumber : 32 | |
| 100 functionName : | |
| 101 lineNumber : 0 | |
| 102 scriptId : <scriptId> | |
| 103 url : | |
| 104 } | |
| 105 } | |
| 106 promiseCreationFrame : { | |
| 107 columnNumber : 46 | |
| 108 functionName : | |
| 109 lineNumber : 0 | |
| 110 scriptId : <scriptId> | |
| 111 url : | |
| 112 } | |
| 113 } | |
| 114 } | |
| 115 timestamp : <timestamp> | |
| 116 type : trace | |
| 117 } | |
| 118 } | |
| 119 inspector.setMaxAsyncTaskStacks(6) | |
|
dgozman
2017/04/27 17:26:35
Why this one is shorter than previous?
kozy
2017/04/27 18:35:31
Stack traces were collected at different moment of
| |
| 120 Run expression 'console.trace()' with async chain len: 3 | |
| 121 { | |
| 122 method : Runtime.consoleAPICalled | |
| 123 params : { | |
| 124 args : [ | |
| 125 [0] : { | |
| 126 type : string | |
| 127 value : console.trace | |
| 128 } | |
| 129 ] | |
| 130 executionContextId : <executionContextId> | |
| 131 stackTrace : { | |
| 132 callFrames : [ | |
| 133 [0] : { | |
| 134 columnNumber : 67 | |
| 135 functionName : Promise.resolve.then.then.then | |
| 136 lineNumber : 0 | |
| 137 scriptId : <scriptId> | |
| 138 url : | |
| 139 } | |
| 140 ] | |
| 141 parent : { | |
| 142 callFrames : [ | |
| 143 ] | |
| 144 description : Promise.resolve | |
| 145 promiseCreationFrame : { | |
| 146 columnNumber : 46 | |
| 147 functionName : | |
| 148 lineNumber : 0 | |
| 149 scriptId : <scriptId> | |
| 150 url : | |
| 151 } | |
| 152 } | |
| 153 } | |
| 154 timestamp : <timestamp> | |
| 155 type : trace | |
| 156 } | |
| 157 } | |
| 158 inspector.setMaxAsyncTaskStacks(7) | |
| 159 Run expression 'console.trace()' with async chain len: 3 | |
| 160 { | |
| 161 method : Runtime.consoleAPICalled | |
| 162 params : { | |
| 163 args : [ | |
| 164 [0] : { | |
| 165 type : string | |
| 166 value : console.trace | |
| 167 } | |
| 168 ] | |
| 169 executionContextId : <executionContextId> | |
| 170 stackTrace : { | |
| 171 callFrames : [ | |
| 172 [0] : { | |
| 173 columnNumber : 67 | |
| 174 functionName : Promise.resolve.then.then.then | |
| 175 lineNumber : 0 | |
| 176 scriptId : <scriptId> | |
| 177 url : | |
| 178 } | |
| 179 ] | |
| 180 parent : { | |
| 181 callFrames : [ | |
| 182 ] | |
| 183 description : Promise.resolve | |
| 184 parent : { | |
| 185 callFrames : [ | |
| 186 ] | |
| 187 description : Promise.resolve | |
| 188 parent : { | |
| 189 callFrames : [ | |
| 190 [0] : { | |
| 191 columnNumber : 8 | |
| 192 functionName : | |
| 193 lineNumber : 0 | |
| 194 scriptId : <scriptId> | |
| 195 url : | |
| 196 } | |
| 197 ] | |
| 198 description : Promise.resolve | |
| 199 promiseCreationFrame : { | |
| 200 columnNumber : 18 | |
| 201 functionName : | |
| 202 lineNumber : 0 | |
| 203 scriptId : <scriptId> | |
| 204 url : | |
| 205 } | |
| 206 } | |
| 207 promiseCreationFrame : { | |
| 208 columnNumber : 32 | |
| 209 functionName : | |
| 210 lineNumber : 0 | |
| 211 scriptId : <scriptId> | |
| 212 url : | |
| 213 } | |
| 214 } | |
| 215 promiseCreationFrame : { | |
| 216 columnNumber : 46 | |
| 217 functionName : | |
| 218 lineNumber : 0 | |
| 219 scriptId : <scriptId> | |
| 220 url : | |
| 221 } | |
| 222 } | |
| 223 } | |
| 224 timestamp : <timestamp> | |
| 225 type : trace | |
| 226 } | |
| 227 } | |
| 228 inspector.setMaxAsyncTaskStacks(8) | |
| 229 Run expression 'console.trace()' with async chain len: 3 | |
| 230 { | |
| 231 method : Runtime.consoleAPICalled | |
| 232 params : { | |
| 233 args : [ | |
| 234 [0] : { | |
| 235 type : string | |
| 236 value : console.trace | |
| 237 } | |
| 238 ] | |
| 239 executionContextId : <executionContextId> | |
| 240 stackTrace : { | |
| 241 callFrames : [ | |
| 242 [0] : { | |
| 243 columnNumber : 67 | |
| 244 functionName : Promise.resolve.then.then.then | |
| 245 lineNumber : 0 | |
| 246 scriptId : <scriptId> | |
| 247 url : | |
| 248 } | |
| 249 ] | |
| 250 parent : { | |
| 251 callFrames : [ | |
| 252 ] | |
| 253 description : Promise.resolve | |
| 254 parent : { | |
| 255 callFrames : [ | |
| 256 ] | |
| 257 description : Promise.resolve | |
| 258 parent : { | |
| 259 callFrames : [ | |
| 260 [0] : { | |
| 261 columnNumber : 8 | |
| 262 functionName : | |
| 263 lineNumber : 0 | |
| 264 scriptId : <scriptId> | |
| 265 url : | |
| 266 } | |
| 267 ] | |
| 268 description : Promise.resolve | |
| 269 promiseCreationFrame : { | |
| 270 columnNumber : 18 | |
| 271 functionName : | |
| 272 lineNumber : 0 | |
| 273 scriptId : <scriptId> | |
| 274 url : | |
| 275 } | |
| 276 } | |
| 277 promiseCreationFrame : { | |
| 278 columnNumber : 32 | |
| 279 functionName : | |
| 280 lineNumber : 0 | |
| 281 scriptId : <scriptId> | |
| 282 url : | |
| 283 } | |
| 284 } | |
| 285 promiseCreationFrame : { | |
| 286 columnNumber : 46 | |
| 287 functionName : | |
| 288 lineNumber : 0 | |
| 289 scriptId : <scriptId> | |
| 290 url : | |
| 291 } | |
| 292 } | |
| 293 } | |
| 294 timestamp : <timestamp> | |
| 295 type : trace | |
| 296 } | |
| 297 } | |
| OLD | NEW |