mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
fix ubO pt.5
This commit is contained in:
parent
e134fea1ba
commit
ae54ac8e28
8 changed files with 63 additions and 6 deletions
|
|
@ -18,7 +18,9 @@ this.EXPORTED_SYMBOLS = ["MatchPattern", "MatchGlobs", "MatchURLFilters"];
|
|||
|
||||
/* globals MatchPattern, MatchGlobs */
|
||||
|
||||
const PERMITTED_SCHEMES = ["http", "https", "file", "ftp", "data"];
|
||||
// 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_REGEXP = PERMITTED_SCHEMES.join("|");
|
||||
|
||||
// This function converts a glob pattern (containing * and possibly ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue