mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 01:57:30 +09:00
Don't linkify data: or javascript: URLs in the web console.
This commit is contained in:
parent
abd21e76ce
commit
ebb869264d
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const {PluralForm} = require("devtools/shared/plural-form");
|
||||||
const MAX_STRING_GRIP_LENGTH = 36;
|
const MAX_STRING_GRIP_LENGTH = 36;
|
||||||
const {ELLIPSIS} = require("devtools/shared/l10n");
|
const {ELLIPSIS} = require("devtools/shared/l10n");
|
||||||
|
|
||||||
const validProtocols = /^(http|https|ftp|data|javascript|resource|chrome):/i;
|
const validProtocols = /^(http|https|ftp|resource|chrome):/i;
|
||||||
|
|
||||||
// Constants for compatibility with the Web Console output implementation before
|
// Constants for compatibility with the Web Console output implementation before
|
||||||
// bug 778766.
|
// bug 778766.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue