Process ` ` tags for a ` ` or ` `. - interface - Element for ` ` or ` `, containing ` ` tags - featurename - name of the feature - api - string specifying API name being generated - profile - string specifyi
(self, interface, featurename, api, profile)
| 1534 | |
| 1535 | |
| 1536 | def removeFeatures(self, interface, featurename, api, profile): |
| 1537 | """Process `<remove>` tags for a `<version>` or `<extension>`. |
| 1538 | |
| 1539 | - interface - Element for `<version>` or `<extension>`, containing |
| 1540 | `<remove>` tags |
| 1541 | - featurename - name of the feature |
| 1542 | - api - string specifying API name being generated |
| 1543 | - profile - string specifying API profile being generated""" |
| 1544 | |
| 1545 | # <remove> marks things that are removed by this version/profile |
| 1546 | for feature in interface.findall('remove'): |
| 1547 | if matchAPIProfile(api, profile, feature): |
| 1548 | self.markRequired(featurename, feature, False) |
| 1549 | |
| 1550 | def assignAdditionalValidity(self, interface, api, profile): |
| 1551 | # Loop over all usage inside all <require> tags. |
no test coverage detected