зеркало из https://github.com/mozilla/pjs.git
bug 292774 - view image context menu allows chrome access, r=dveditz, sr=jst, a=dveditz
This commit is contained in:
Родитель
5b1fc5f58e
Коммит
4db0d7b738
|
@ -4339,10 +4339,12 @@ nsContextMenu.prototype = {
|
|||
},
|
||||
// Change current window to the URL of the image.
|
||||
viewImage : function (e) {
|
||||
urlSecurityCheck( this.imageURL, document )
|
||||
openUILink( this.imageURL, e );
|
||||
},
|
||||
// Change current window to the URL of the background image.
|
||||
viewBGImage : function (e) {
|
||||
urlSecurityCheck( this.bgImageURL, document )
|
||||
openUILink( this.bgImageURL, e );
|
||||
},
|
||||
setWallpaper: function() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче