diff --git a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js index f90b7cff398..2801c250008 100644 --- a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js +++ b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js @@ -585,10 +585,12 @@ nsContextMenu.prototype = { }, // Change current window to the URL of the image. viewImage : function () { + urlSecurityCheck( this.imageURL, document ) openTopWin( this.imageURL ); }, // Change current window to the URL of the background image. viewBGImage : function () { + urlSecurityCheck( this.bgImageURL, document ) openTopWin( this.bgImageURL ); }, setWallpaper: function() {