Not familiar with the B777 but does it have any sort of E&E / Avionics Bay fire suppression ? If so, and if the pilots released the extinguishing agent (gas) then this might be the cause of the irritation that the fire fighters experienced. That said, surprised that whatever it is / was could pass across a full face mask and breathing apparatus ?!