blob: c52b5908588491aef7bf5c681a6ad492b74587a7 [file] [log] [blame]
Tests that Runtime.evaluate's REPL mode correctly interacts with the compliation cache (crbug.com/1108021)
Prefill the cache with non-REPL mode script
{
id : <messageId>
result : {
result : {
description : 8
type : number
value : 8
}
}
}
REPL mode scripts always return a Promise.
The first script only returns "8" instead. When the inspector doesn't find a promise (due to a cache hit), it would respond with "undefined".
{
id : <messageId>
result : {
result : {
description : 8
type : number
value : 8
}
}
}