blob: 62ce1c74e6048f942300d44b3f1efde92b36cee4 [file] [log] [blame]
(async function(testRunner) {
var {page, session, dp} = await testRunner.startBlank(`Tests that property defined on console.__proto__ doesn't observable on other Objects.`);
testRunner.log(await dp.Runtime.evaluate({expression: `
var amountOfProperties = 0;
for (var p in {})
++amountOfProperties;
console.__proto__.debug = 239;
for (var p in {})
--amountOfProperties;
amountOfProperties
`}));
testRunner.completeTest();
})