import from UXP: Don't linkify data: or javascript: URLs in the web console. (ebb86926)

This commit is contained in:
2022-03-25 12:49:26 +08:00
parent 25ba796405
commit 07f070d9d5
+1 -1
View File
@@ -31,7 +31,7 @@ const {PluralForm} = require("devtools/shared/plural-form");
const MAX_STRING_GRIP_LENGTH = 36;
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
// bug 778766.