| Index: chrome/content/ui/composer.js |
| =================================================================== |
| --- a/chrome/content/ui/composer.js |
| +++ b/chrome/content/ui/composer.js |
| @@ -141,17 +141,17 @@ function init() |
| E("domainRestriction").value = docDomain; |
| E("thirdParty").hidden = !thirdParty; |
| E("firstParty").hidden = thirdParty; |
| let typeGroup = E("typeGroup"); |
| let defaultTypes = RegExpFilter.prototype.contentType & ~RegExpFilter.typeMap.DOCUMENT; |
| let isDefaultType = (RegExpFilter.typeMap[item.typeDescr] & defaultTypes) != 0; |
| - for each (let type in types) |
| + for (let type of types) |
| { |
| if (type == Policy.type.ELEMHIDE) |
| continue; |
| let typeNode = document.createElement("checkbox"); |
| typeNode.setAttribute("value", Policy.typeDescr[type].toLowerCase().replace(/\_/g, "-")); |
| typeNode.setAttribute("label", Policy.localizedDescr[type].toLowerCase()); |