Revert "fix ubO pt.5"

This reverts commit ae54ac8e28.
This commit is contained in:
wuggy 2026-09-15 14:03:09 -07:00
commit de4d9aa091
5 changed files with 3 additions and 52 deletions

View file

@ -18,9 +18,7 @@ this.EXPORTED_SYMBOLS = ["MatchPattern", "MatchGlobs", "MatchURLFilters"];
/* globals MatchPattern, MatchGlobs */
// WebExtensions also use WebSocket URLs for request filtering and
// moz-extension URLs internally when validating web-accessible resources.
const PERMITTED_SCHEMES = ["http", "https", "file", "ftp", "data", "ws", "wss", "moz-extension"];
const PERMITTED_SCHEMES = ["http", "https", "file", "ftp", "data"];
const PERMITTED_SCHEMES_REGEXP = PERMITTED_SCHEMES.join("|");
// This function converts a glob pattern (containing * and possibly ?