2018-04-10 21:39:51 -04:00
|
|
|
Tests that microtasks run before the Runtime.evaluate response is sent
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
description : 42
|
|
|
|
type : number
|
|
|
|
value : 42
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 37
|
2019-03-12 09:01:49 +01:00
|
|
|
functionName :
|
2018-04-10 21:39:51 -04:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : {
|
|
|
|
className : Promise
|
|
|
|
description : Promise
|
|
|
|
objectId : <objectId>
|
|
|
|
subtype : promise
|
|
|
|
type : object
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|