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
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
2a2f53fa
Commit
2a2f53fa
authored
May 14, 2024
by
Pier Angelo Vendrame
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Bug 42528: Don't leak system scrollbar size on windows.
Fix the RFPTarget.
parent
b1bfcf32
No related branches found
No related tags found
1 merge request
!1049
Bug 42616 (part 2): Rebased onto Firefox 128.0esr release
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
widget/ScrollbarDrawingWin.cpp
+1
-1
1 addition, 1 deletion
widget/ScrollbarDrawingWin.cpp
widget/ScrollbarDrawingWin11.cpp
+1
-1
1 addition, 1 deletion
widget/ScrollbarDrawingWin11.cpp
with
2 additions
and
2 deletions
widget/ScrollbarDrawingWin.cpp
+
1
−
1
View file @
2a2f53fa
...
...
@@ -167,7 +167,7 @@ void ScrollbarDrawingWin::RecomputeScrollbarParams() {
// Do not leak system size when using ResistFingerprinting.
if
(
!
nsContentUtils
::
ShouldResistFingerprinting
(
"No context available"
,
RFPTarget
::
Unknow
n
)
&&
RFPTarget
::
CSSResolutio
n
)
&&
StaticPrefs
::
widget_non_native_theme_win_scrollbar_use_system_size
())
{
ConfigureScrollbarSize
(
LookAndFeel
::
GetInt
(
LookAndFeel
::
IntID
::
SystemScrollbarSize
,
defaultSize
));
...
...
This diff is collapsed.
Click to expand it.
widget/ScrollbarDrawingWin11.cpp
+
1
−
1
View file @
2a2f53fa
...
...
@@ -354,7 +354,7 @@ bool ScrollbarDrawingWin11::PaintScrollbarThumb(
void
ScrollbarDrawingWin11
::
RecomputeScrollbarParams
()
{
ScrollbarDrawingWin
::
RecomputeScrollbarParams
();
if
(
nsContentUtils
::
ShouldResistFingerprinting
(
"No context available"
,
RFPTarget
::
Unknow
n
))
{
RFPTarget
::
CSSResolutio
n
))
{
// Do not distinguish sizes between windows 10 and 11.
return
;
}
...
...
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