mozilla/extension-workshop

Code snippet correction

Closed this issue · 0 comments

re: https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/

Host permissions

"host_permissions": [
 "http://www.mysite.com/",
 "*://*/*"
]

The second pattern matches the first pattern as well which makes the first pattern irrelevant. It may become confusing for the new developers.

PS. The whole snippet has 1 space indent which doesn't match the overall style of snippets on MDN/workshop.