From 8854c09db9b50bd0ea521be33188bf3919ab638d Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 31 Jan 2011 22:18:55 -0500 Subject: [PATCH] Quiet the old add-on validator a bit. --- common/content/commands.js | 50 +++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/common/content/commands.js b/common/content/commands.js index 246b3209..7105105b 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -1022,35 +1022,35 @@ var Commands = Module("commands", { nameRegexp: util.regexp( ] [^ ]* ]]>, "", { - forbid: util.regexp() + forbid: util.regexp(String.replace(, /U/g, "\\u")) }), validName: Class.memoize(function () util.regexp("^" + this.nameRegexp.source + "$")),