Skip to content
Snippets Groups Projects
Commit 12f36478 authored by cypherpunks1's avatar cypherpunks1 Committed by Pier Angelo Vendrame
Browse files

Bug 33955: When copying an image only copy the image contents to the clipboard

parent 1e8f584a
No related branches found
No related tags found
1 merge request!1265Bug 43230: 115.17.0esr rebase
......@@ -219,7 +219,7 @@
#ifdef CONTEXT_COPY_IMAGE_CONTENTS
<menuitem id="context-copyimage-contents"
data-l10n-id="main-context-menu-image-copy"
oncommand="goDoCommand('cmd_copyImage');"/>
oncommand="goDoCommand('cmd_copyImageContents');"/>
#endif
<menuitem id="context-copyimage"
data-l10n-id="main-context-menu-image-copy-link"
......
......@@ -501,7 +501,7 @@ nsresult nsCopySupport::ImageCopy(nsIImageLoadingContent* aImageElement,
trans->SetReferrerInfo(referrerInfo);
}
#ifdef XP_WIN
#if defined(XP_WIN) && !defined(BASE_BROWSER_VERSION)
rv = AppendImagePromise(trans, imgRequest, aImageElement);
NS_ENSURE_SUCCESS(rv, rv);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment