We can be fairly confident that the iPhone X can survive a quick dunk underwater. Frederic van Strydonck did more than quick dunks when he used an iPhone X without any case to make an ethereal short film below the surface in various watery locations.
The iPhone X is not technically considered fully waterproof. It’s rated to be water-resistant when submerged at a maximum depth of 1 meter.

