| OLD | NEW | 
| (Empty) |  | 
 |   1 (async function(testRunner) { | 
 |   2   let {page, session, dp} = await testRunner.startBlank(`Check that console.log 
    doesn't run microtasks.`); | 
 |   3  | 
 |   4   dp.Runtime.onConsoleAPICalled(result => { | 
 |   5     testRunner.logObject(result.params.args[0]); | 
 |   6     if (result.params.args[0].value === 'finished') | 
 |   7       testRunner.completeTest(); | 
 |   8   }); | 
 |   9  | 
 |  10   dp.Runtime.enable(); | 
 |  11   dp.Runtime.evaluate({expression: ` | 
 |  12     (function testFunction() { | 
 |  13       Promise.resolve().then(function(){ console.log(239); }); | 
 |  14       console.log(42); | 
 |  15       console.log(43); | 
 |  16     })() | 
 |  17   `}); | 
 |  18   dp.Runtime.evaluate({expression: `setTimeout(() => console.log('finished'), 0)
    `}); | 
 |  19 }) | 
| OLD | NEW |