invalidate() Invalidates the grant, removing the capability from the process it was granted to. Declarationfunc invalidate() Mentioned inManaging the browser extension life cycle See AlsoTesting and changing validityisValid