mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 14:46:02 +00:00
Bug 32360; patch from Horwath Martin (horwatch@opensa.org); r=law
This commit is contained in:
parent
f8123f8c1f
commit
e78988cd16
@ -281,6 +281,13 @@ nsContextMenu.prototype = {
|
||||
openFrame : function () {
|
||||
openNewWindowWith( this.target.ownerDocument.location.href );
|
||||
},
|
||||
// Open new "view source" window with the frame's URL.
|
||||
viewFrameSource : function () {
|
||||
window.openDialog( "chrome://navigator/content/viewSource.xul",
|
||||
"_blank",
|
||||
"chrome,dialog=no",
|
||||
this.target.ownerDocument.location.href);
|
||||
},
|
||||
viewInfo : function () {
|
||||
dump( "nsContextMenu.viewInfo not implemented yet\n" );
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user