The House passed a measure to fund the Department of Homeland Security on Thursday, but Senate Democrats blocked similar legislation.