Does .40 S&W work safely/reliably in a 10mm auto?

I just watched Military Arms Channel run an entire mag of .40 S&W through a 10mm and they all cycled, maybe I'm ignorant but I honestly didn't think that would work, so basically does .40 S&W work with 10mm the way a 38 Special works with 357?
Update: If it works in Glocks, does it also work in 10mm 1911s?
7 answers 7