bug 292774 - view image context menu allows chrome access, patch by neil, r=bz, sr+a=dveditz
git-svn-id: svn://10.0.0.236/trunk@174691 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a6f0210b56
commit
b67388e18b
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user