richard pushed to branch tor-browser-115.0esrbase-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

2 changed files:

Changes:

  • browser/base/content/browser-context.inc
    ... ... @@ -219,7 +219,7 @@
    219 219
     #ifdef CONTEXT_COPY_IMAGE_CONTENTS
    
    220 220
           <menuitem id="context-copyimage-contents"
    
    221 221
                     data-l10n-id="main-context-menu-image-copy"
    
    222
    -                oncommand="goDoCommand('cmd_copyImage');"/>
    
    222
    +                oncommand="goDoCommand('cmd_copyImageContents');"/>
    
    223 223
     #endif
    
    224 224
           <menuitem id="context-copyimage"
    
    225 225
                     data-l10n-id="main-context-menu-image-copy-link"
    

  • dom/base/nsCopySupport.cpp
    ... ... @@ -503,7 +503,7 @@ nsresult nsCopySupport::ImageCopy(nsIImageLoadingContent* aImageElement,
    503 503
           trans->SetReferrerInfo(referrerInfo);
    
    504 504
         }
    
    505 505
     
    
    506
    -#ifdef XP_WIN
    
    506
    +#if defined(XP_WIN) && !defined(BASE_BROWSER_VERSION)
    
    507 507
         rv = AppendImagePromise(trans, imgRequest, aImageElement);
    
    508 508
         NS_ENSURE_SUCCESS(rv, rv);
    
    509 509
     #endif