Tests that console.profile/profileEnd will record CPU profile when inspector front-end is connected.