Three people have been arrested under suspicion of tossing Molotov cocktails at patrol cars as they were parked outside officers' homes.