Now you've done it, I think my M+P will have the same result, although I don't have a 33 rd mag. Than I'll have to post it for old baldy. Great vid that is a WOW!
Actually there is a special maritime upgrade for the Glocks to get them to do that safely. Basically they replace the spring cups on the maritime models. Once you do that it will cycle reliably.
The maritime spring cups are two small parts within the firing pin assembly and are not included on any Model 17 sold by Glock (civilians can only get them through 3rd parties). They insure that water can pass by the firing pin within the firing pin channel, thus preventing the creation of hydraulic force within the firing pin channel -- which would slow the firing pin down, causing light primer strikes. With the special cups, the action will cycle reliably while submersed, if a little bit slower. NATO specification ammunition (such as Winchester's Ranger RA9124N) with waterproof sealed primers and case mouths is recommended.
You also have to use BALL AMMO ONLY. When using NATO specification ball ammunition will supposedly completely penetrate a minimum of one 1/2" pine board at a distance of ten feet from the muzzle when fired underwater.
Slides are marked "Mariner"


Source:
http://www.glockfaq.com/generalinfo.htm