mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
parent
30c7ed8319
commit
de4d9aa091
5 changed files with 3 additions and 52 deletions
|
|
@ -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 ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue