The attached extension requests the invalid host permisson “xyz”.
Host Permission Regexp.zip (2.3 KB)
When it’s loaded as a temporary add-on, FF displays a warning/error.
Warning details
Reading manifest: Warning processing host_permissions: Error processing host_permissions.0: Value “xyz” must either: be one of ["<all_urls>"], must either [match the pattern /^(https?|wss?|file|ftp|*)://(*|*.[^/]+|[^/]+)/.$/, or match the pattern /^file:///.$/], or match the pattern /^resource://(*|*.[^/]+|[^/]+)/.*$|^about:/
According to the last part, “about:” should be a valid match pattern.
or match the pattern /^resource://(|.[^ /]+|[^ /]+)/.*$|^about:
But the host permission “about:” just causes another error.
Warning details
Reading manifest: Invalid extension permission: about:
Do I need to set a flag in about:config to use the host permission “about:”?
Or is the first error message wrong/misleading?