rem: if( isWin && this.onImage ) 
add: if( isWin && this.onLoadedImage ) 
context:     initViewItems : function () {        // View source is always OK, unless in directory listing.        this.showItem( "context-viewpartialsource-selection", this.isTextSelected && !this.onTextInput );        this.showItem( "context-viewpartialsource-mathml", this.onMathML && !this.isTextSelected );        var showView = !( this.inDirList || this.onImage || this.isTextSelected || this.onLink || this.onTextInput );        this.showItem( "context-viewsource", showView );        this.showItem( "context-viewinfo", showView );        this.showItem( "context-sep-properties", !( this.inDirList || this.isTextSelected || this.onTextInput ) );        // Set As Wallpaper depends on whether an image was clicked on, and only works on Windows.        var isWin = navigator.appVersion.indexOf("Windows") != -1;        this.showItem( "context-setWallpaper", isWin && (this.onImage || this.onStandaloneImage));        this.showItem( "context-sep-image", this.onImage || this.onStandaloneImage);        if( isWin && this.onImage )            // Disable the Set As Wallpaper menu item if we're still trying to load the image          this.setItemAttr( "context-setWallpaper", "disabled", (("complete" in this.target) && !this.target.complete) ? "true" : null );        this.showItem( "context-fitimage", this.onStandaloneImage && content.document.imageResizingEnabled );        if ( this.onStandaloneImage && content.document.imageResizingEnabled ) {          this.setItemAttr( "context-fitimage", "disabled", content.document.imageIsOverflowing ? null : "true");          this.setItemAttr( "context-fitimage", "checked", content.document.imageIsResized ? "true" : null);        }        // View Image depends on whether an image was clicked on.        this.showItem( "context-viewimage", this.onImage && !this.onStandaloneImage);        // View background image depends on whether there is one.        this.showItem( "context-viewbgimage", showView && !this.onStandaloneImage);        this.showItem( "context-sep-viewbgimage", showView && !this.onStandaloneImage);        this.setItemAttr( "context-viewbgimage", "disabled", this.hasBGImage ? null : "true");    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b901266a5c5c16da47a07375bdd28062fd4ba6c1/nsContextMenu.js/buggy/suite/common/nsContextMenu.js