Open Bug 1911834 Opened 2 months ago Updated 2 months ago

Implement matches OR includeGlobs semantics for MV3 userScripts API

Categories

(WebExtensions :: General, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: robwu, Assigned: robwu)

References

(Blocks 1 open bug)

Details

(Whiteboard: [addons-jira])

See https://bugzilla.mozilla.org/show_bug.cgi?id=1875475#c3 for details.

The current content script internals treats matches[] and includeGlobs[] as AND conditions, but they should be OR. A user script may run on any URL that the extension can script. At least matches[] or includeGlobs[] should be a non-empty array.

You need to log in before you can comment on or make changes to this bug.