Bug 204902 - add URL loading security check to link click handler function for mailnews. r=sspitzer, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@143270 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -104,6 +104,8 @@ function openNewWindowWith(url, sendReferrer)
|
||||
|
||||
function openTopBrowserWith(url)
|
||||
{
|
||||
urlSecurityCheck(url, document);
|
||||
|
||||
var windowMediator = Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);
|
||||
var browserWin = windowMediator.getMostRecentWindow("navigator:browser");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user