Chrome will throw an error when loading an extension that contains a web accessible resource with a matches property that contains a path. This PR ensures that content script match patterns used for their web accessible resources are trimmed to their origin instead of being passed through completely.
Chrome will throw an error when loading an extension that contains a web accessible resource with a matches property that contains a path. This PR ensures that content script match patterns used for their web accessible resources are trimmed to their origin instead of being passed through completely.