mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
bug 292774 - view image context menu allows chrome access, patch by neil, r=bz, sr+a=dveditz
This commit is contained in:
parent
e36783fbb9
commit
ab88abd5db
@ -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