This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
Before bug 1336230 landed, we were successfully testing the CHROME_MAC_SUPPRESS_ANIMATION
flag. Then we renamed the flag to CHROME_SUPPRESS_ANIMATION, but didn't update the test.
The test continued to pass though, since we ended up doing bitwise AND on undefined,
which produced the 0 value that the test expected.
This patch makes sure that the flag is non-zero-ish before doing the bitwise
operation. It also updates the flag to be CHROME_SUPPRESS_ANIMATION.
MozReview-Commit-ID: 2ztJ7oqlQMe