[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-115.0esrbase-13.0-1] Bug 33955: When copying an image only copy the image contents to the clipboard



Title: GitLab

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

Commits:

  • 53c25feb
    by cypherpunks1 at 2023-07-12T22:21:16+00:00
    Bug 33955: When copying an image only copy the image contents to the clipboard
    

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
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits