Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
12f36478
Commit
12f36478
authored
1 year ago
by
cypherpunks1
Committed by
Pier Angelo Vendrame
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug 33955: When copying an image only copy the image contents to the clipboard
parent
1e8f584a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1265
Bug 43230: 115.17.0esr rebase
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
browser/base/content/browser-context.inc
+1
-1
1 addition, 1 deletion
browser/base/content/browser-context.inc
dom/base/nsCopySupport.cpp
+1
-1
1 addition, 1 deletion
dom/base/nsCopySupport.cpp
with
2 additions
and
2 deletions
browser/base/content/browser-context.inc
+
1
−
1
View file @
12f36478
...
...
@@ -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_copyImage
Contents
');"
/>
#endif
<
menuitem
id
=
"context-copyimage"
data
-
l10n
-
id
=
"main-context-menu-image-copy-link"
...
...
This diff is collapsed.
Click to expand it.
dom/base/nsCopySupport.cpp
+
1
−
1
View file @
12f36478
...
...
@@ -501,7 +501,7 @@ nsresult nsCopySupport::ImageCopy(nsIImageLoadingContent* aImageElement,
trans
->
SetReferrerInfo
(
referrerInfo
);
}
#ifdef
XP_WIN
#if
def
ined(
XP_WIN
) && !defined(BASE_BROWSER_VERSION)
rv
=
AppendImagePromise
(
trans
,
imgRequest
,
aImageElement
);
NS_ENSURE_SUCCESS
(
rv
,
rv
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment