mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 16:01:52 +00:00

PR-URL: https://github.com/nodejs/node/pull/37330 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
62 lines
1.0 KiB
Plaintext
62 lines
1.0 KiB
Plaintext
Checks createContext().
|
|
{
|
|
method : Runtime.executionContextCreated
|
|
params : {
|
|
context : {
|
|
id : 1
|
|
name :
|
|
origin :
|
|
uniqueId : <uniqueId>
|
|
}
|
|
}
|
|
}
|
|
{
|
|
method : Runtime.executionContextCreated
|
|
params : {
|
|
context : {
|
|
id : 2
|
|
name :
|
|
origin :
|
|
uniqueId : <uniqueId>
|
|
}
|
|
}
|
|
}
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
debuggerId : <debuggerId>
|
|
}
|
|
}
|
|
#debugger;
|
|
|
|
setTimeout(x => x #* 3, 0)
|
|
|
|
Reported script's execution id: 2
|
|
{
|
|
method : Runtime.executionContextCreated
|
|
params : {
|
|
context : {
|
|
id : 1
|
|
name :
|
|
origin :
|
|
uniqueId : <uniqueId>
|
|
}
|
|
}
|
|
}
|
|
{
|
|
method : Runtime.executionContextCreated
|
|
params : {
|
|
context : {
|
|
id : 2
|
|
name :
|
|
origin :
|
|
uniqueId : <uniqueId>
|
|
}
|
|
}
|
|
}
|
|
#debugger;
|
|
|
|
setTimeout(x => x #* 3, 0)
|
|
|
|
Reported script's execution id: 2
|