From 0e22f0e4fd0446effab8609ebc4b3070321700f4 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 2 Jan 2009 19:13:11 -0500 Subject: [PATCH] Make echoerr, throw Error in liberator.open --- common/content/liberator.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index b1a6e095..8c002209 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -1122,9 +1122,7 @@ const liberator = (function () //{{{ break; default: - // FIXME: should this really be a user-visible error? --djk - liberator.echoerr("Exxx: Invalid 'where' directive in liberator.open(...)"); - return false; + throw Error("Invalid 'where' directive in liberator.open(...)"); } }