From c850326539ca6782a891d211dc82e93ff062dd0c 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 git-svn-id: svn://10.0.0.236/trunk@147447 18797224-902f-48f8-a5cc-f745e15eee43 --- .../xpfe/communicator/resources/content/contentAreaUtils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js b/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js index 162551179c1..010d7219cc4 100644 --- a/mozilla/xpfe/communicator/resources/content/contentAreaUtils.js +++ b/mozilla/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;