I think it would be good to add a comment explaining why we're doing this.  If someone who doesn't know the background sees this, this would appear redundant.

Could we say something along the lines of older Gecko's not having the "platformName" capability, and that eventually "platform" will be deprecated, but that this is here to preserve backwards compatibility?