From b68f254ff3a5ff09591274607e4d136678d321ed Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Mon, 29 Sep 2003 21:51:20 +0000 Subject: [PATCH] Checking in one-line, fix for 219029 patch from Ian Neal , r=caillon, sr=jst --- xpfe/communicator/resources/content/contentAreaUtils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xpfe/communicator/resources/content/contentAreaUtils.js b/xpfe/communicator/resources/content/contentAreaUtils.js index 162551179c1..010d7219cc4 100644 --- a/xpfe/communicator/resources/content/contentAreaUtils.js +++ b/xpfe/communicator/resources/content/contentAreaUtils.js @@ -137,10 +137,11 @@ function openNewTabWith(url, sendReferrer, reverseBackgroundPref) var browserWin = windowMediator.getMostRecentWindow("navigator:browser"); - // if there's no existing browser window, open this url in one, and - // return + // if there's no existing browser window, then, as long as + // we are allowed to, open this url in one and return // if (!browserWin) { + urlSecurityCheck(url, document); window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", url, null, referrer); return;