Bug 994519 - Introduce l10n.setAttributes and l10n.getAttributes. r=stas