Sure it is. Replacing the main use cases for Flash with native HTML5 video and Canvas elements is a big win for security. That wasn't fully possible for sites like Yahoo with a lot of legacy users until just the past couple years.
And was that before or after they allowed the NSA access to their servers?