blob: 33ccdcf1fb997f3e33db24ce427f08489450a759 [file] [log] [blame]
(async function(testRunner) {
const {page, session, dp} = await testRunner.startBlank(
`Tests that the IP address space is reported on responseReceivedExtraInfo.`);
await dp.Network.enable();
testRunner.log('Network Enabled');
dp.Network.onResponseReceivedExtraInfo(event => {
testRunner.log(event.params.resourceIPAddressSpace);
testRunner.completeTest();
});
await session.evaluate(`fetch('index.html');`);
})