blob: 02eb7e7bc1a70552950e56b4b7dcd42cfedf8fb2 [file] [log] [blame]
(async function(testRunner) {
await testRunner.startBlank(
`Tests that browser.Target.setAutoAttach() supports only flatten protocol.`);
const target = testRunner.browserP().Target;
const response = await target.setAutoAttach(
{autoAttach: true, waitForDebuggerOnStart: true, flatten: false});
testRunner.log(response, 'Tried to auto-attach with not flatten protocol');
testRunner.completeTest();
})