It's due to Chrome doing something unexpected, and apparently only with GMail. (I found lots of threads from confused developers trying to get this to work out there!)
I worked out a solution for the next update which will make this work as expected.