summaryrefslogtreecommitdiffstats
path: root/devtools/client
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-15 21:52:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-15 21:52:48 +0200
commitc9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2 (patch)
tree3f9211a86984b72a276df1ef54a14f0498f9747f /devtools/client
parent41cbe2d931d2742bb8dd6240eae9599e3bf3a512 (diff)
downloadUXP-c9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2.tar
UXP-c9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2.tar.gz
UXP-c9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2.tar.lz
UXP-c9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2.tar.xz
UXP-c9d1a79bd076f39e11d0bf9ca7f543ec910cf2b2.zip
Don't linkify data: or javascript: URLs in the web console.
Diffstat (limited to 'devtools/client')
-rw-r--r--devtools/client/webconsole/console-output.js2
1 files changed, 1 insertions, 1 deletions
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.