Closed Bug 1641515 Opened 4 months ago Closed 4 months ago

MatchPattern `ignorePath` drops the file extension in the pattern

Categories

(Firefox :: Messaging System, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 78
Iteration:
78.2 - May 18 - May 31
Tracking Status
firefox78 --- fixed

People

(Reporter: andreio, Assigned: andreio)

Details

Attachments

(1 file)

new MatchPatternSet(new Set(["*://*/*.pdf"]), { ignorePath: true }); // pattern: "*://*/*"
new MatchPatternSet(new Set(["*://*/*.pdf"])); // pattern "*://*/*.pdf"

The resulting pattern when using ignorePath is too generic.

Pushed by aoprea@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d9817dd544a6
Don't use ignorePath flag for MatchPattern because its matches are too generic r=k88hudson
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.