788224 b

patch for bug [788224]

[788224]: https://bugzilla.mozilla.org/show_bug.cgi?id=788224