blob: 0cab150f7114ef398671b4b4df6c8952992d57ac [file] [log] [blame]
(async function(testRunner) {
var {page, session, dp} = await testRunner.startBlank(`Tests that Runtime.evaluate returns an error for non serialable types.`);
testRunner.runTestSuite([
async function testSymbol() {
testRunner.log(await dp.Runtime.evaluate({ expression: 'Symbol(239)', returnByValue: true }));
},
async function testObjectWithChain() {
testRunner.log(await dp.Runtime.evaluate({ expression: 'a = {}; a.b = a; a', returnByValue: true }));
}
]);
})