1,072
edits
| Line 93: | Line 93: | ||
Tests if a string matches the pattern of an add-on URL | Tests if a string matches the pattern of an add-on URL | ||
* ''addonURL'' - string to verify. | * ''addonURL'' - string to verify. | ||
* ''appName'' - Mozilla application name | * ''appName'' - Mozilla application name included in the URL pattern . | ||
* Returns True if string matches the pattern of an add-on page URL, otherwise returns False. Pattern is generated by addonURLwithAppPattern(). | * Returns True if string matches the pattern of an add-on page URL, otherwise returns False. Pattern is generated by addonURLwithAppPattern(). | ||
edits