mozilla-b2g/gaia — pull request #13389 by Protonk (2013-11-05 19:13:02+00:00)
Title: Bug 930882 - [messages] Sending mms with attachment filename over 40 chars will be failed with incorrect error message [reopened]

Truncate MMS filenames at generation
* Filename, extension and potential marker (e.g. `_2`) all must fit inside 40 characters
* Add tests for truncation
* Use `var` rather than `let` or `const` until behavior in Gecko is standardized