From c9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 15 May 2018 21:52:48 +0200 Subject: Don't linkify data: or javascript: URLs in the web console. --- devtools/client/webconsole/console-output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools/client/webconsole') diff --git a/devtools/client/webconsole/console-output.js b/devtools/client/webconsole/console-output.js index 52d848494..bd290dcc6 100644 --- a/devtools/client/webconsole/console-output.js +++ b/devtools/client/webconsole/console-output.js @@ -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. -- cgit v1.2.3