[Mozilla Enterprise] Windowing Changes in Firefox 60 ESR- Does not reflect xulstore.json values.
Wes Holton
wes.holton at citrix.com
Thu Jul 26 12:41:29 UTC 2018
Mike,
To clarify, should this code only kick in when fingerprinting resistance is enabled or disabled? What configuration options should be employed to avoid this function? Thanks!
[cid:image003.png at 01D424BC.72B1BF10]
Wes Holton
Senior Escalation Engineer
Technical Support
T +1 678-225-3807
[https://support.citrix.com/content/dam/citrixsupport/signature/TSIA-citrix-support.jpg]
CONFIDENTIALITY NOTICE
This e-mail message and all documents which accompany it are intended only for the use of the individual or entity to which addressed, and may contain privileged or confidential information. Any unauthorized disclosure or distribution of this e-mail message is prohibited. Any private files or utilities that are included in this e-mail are intended only for the use of the individual or entity to which this is addressed and distribution of these files or utilities is prohibited. If you have received this e-mail message in error, please notify me immediately. Thank you.
Customer Satisfaction is our goal.
If you have feedback regarding my performance, please feel free to contact my manager Robert.poston at citrix.com<mailto:Robert.poston at citrix.com>
[https://support.citrix.com/content/dam/citrixsupport/signature/tse-email-banner.png]<https://support.citrix.com/email-banner>
From: Enterprise <enterprise-bounces at mozilla.org> On Behalf Of Wes Holton
Sent: Tuesday, July 10, 2018 8:54 AM
To: 'Mike Kaply' <mkaply at mozilla.com>
Cc: enterprise at mozilla.org
Subject: Re: [Mozilla Enterprise] Windowing Changes in Firefox 60 ESR- Does not reflect xulstore.json values.
Thanks Mike! I will give that a shot
[cid:image002.png at 01D424BC.72920210]
Wes Holton
Senior Escalation Engineer
Technical Support
T +1 678-225-3807
[https://support.citrix.com/content/dam/citrixsupport/signature/TSIA-citrix-support.jpg]
CONFIDENTIALITY NOTICE
This e-mail message and all documents which accompany it are intended only for the use of the individual or entity to which addressed, and may contain privileged or confidential information. Any unauthorized disclosure or distribution of this e-mail message is prohibited. Any private files or utilities that are included in this e-mail are intended only for the use of the individual or entity to which this is addressed and distribution of these files or utilities is prohibited. If you have received this e-mail message in error, please notify me immediately. Thank you.
Customer Satisfaction is our goal.
If you have feedback regarding my performance, please feel free to contact my manager Robert.poston at citrix.com<mailto:Robert.poston at citrix.com>
[https://support.citrix.com/content/dam/citrixsupport/signature/tse-email-banner.png]<https://support.citrix.com/email-banner>
From: Mike Kaply <mkaply at mozilla.com<mailto:mkaply at mozilla.com>>
Sent: Monday, July 9, 2018 5:46 PM
To: Wes Holton <wes.holton at citrix.com<mailto:wes.holton at citrix.com>>
Cc: enterprise at mozilla.org<mailto:enterprise at mozilla.org>
Subject: Re: [Mozilla Enterprise] Windowing Changes in Firefox 60 ESR- Does not reflect xulstore.json values.
That code should really only kick in when fingerprinting is enabled.
Are they explicitly setting values in the xulstore.json?
There are also command line options -width and -height. Have you tried using those?
Mike Kaply
On Mon, Jul 9, 2018 at 9:47 AM, Wes Holton <wes.holton at citrix.com<mailto:wes.holton at citrix.com>> wrote:
Hello,
I am working with a large customer who deploys Firefox as a published application using Citrix XenApp (https://www.citrix.com/products/xenapp-xendesktop/) Prior to version 55, they were able to set up size and position as desired and deliver a consistent experience to their user community. Since version 55, when they launch Firefox as a published application, the window is about a third of the size that it should be. I have verified that our software is detecting the screen size normally. We have tried various settings in regards to Electrolysis and Fingerprinting resistance, but we are not able to have the window as the desired size. I’m looking for some direction on next steps, as there seems to be a clear change from the Firefox perspective and no change in our code. I did some research and found that the following function seems to have been added in v55, and may explain why the values in xulstore.json are not held to. Can someone let me know if I’m on the right track here, and how to proceed, or if there is a way to get the old windowing behavior back? Thanks!
// Rounds window size to 1000x1000, or, if there isn't enough available
// screen space, to a multiple of 200x100.
NS_IMETHODIMP nsXULWindow::ForceRoundedDimensions()
{
if (mIsHiddenWindow) {
return NS_OK;
}
int32_t availWidthCSS = 0;
int32_t availHeightCSS = 0;
int32_t contentWidthCSS = 0;
int32_t contentHeightCSS = 0;
int32_t windowWidthCSS = 0;
int32_t windowHeightCSS = 0;
double devicePerCSSPixels = 1.0;
GetUnscaledDevicePixelsPerCSSPixel(&devicePerCSSPixels);
GetAvailScreenSize(&availWidthCSS, &availHeightCSS);
// To get correct chrome size, we have to resize the window to a proper
// size first. So, here, we size it to its available size.
SetSpecifiedSize(availWidthCSS, availHeightCSS);
// Get the current window size for calculating chrome UI size.
GetSize(&windowWidthCSS, &windowHeightCSS); // device pixels
windowWidthCSS = NSToIntRound(windowWidthCSS / devicePerCSSPixels);
windowHeightCSS = NSToIntRound(windowHeightCSS / devicePerCSSPixels);
// Get the content size for calculating chrome UI size.
GetPrimaryContentSize(&contentWidthCSS, &contentHeightCSS);
// Calculate the chrome UI size.
int32_t chromeWidth = 0, chromeHeight = 0;
chromeWidth = windowWidthCSS - contentWidthCSS;
chromeHeight = windowHeightCSS - contentHeightCSS;
int32_t targetContentWidth = 0, targetContentHeight = 0;
// Here, we use the available screen dimensions as the input dimensions to
// force the window to be rounded as the maximum available content size.
nsContentUtils::CalcRoundedWindowSizeForResistingFingerprinting(
chromeWidth,
chromeHeight,
availWidthCSS,
availHeightCSS,
availWidthCSS,
availHeightCSS,
false, // aSetOuterWidth
false, // aSetOuterHeight
&targetContentWidth,
&targetContentHeight
);
targetContentWidth = NSToIntRound(targetContentWidth * devicePerCSSPixels);
targetContentHeight = NSToIntRound(targetContentHeight * devicePerCSSPixels);
SetPrimaryContentSize(targetContentWidth, targetContentHeight);
mIgnoreXULSize = true;
mIgnoreXULSizeMode = true;
return NS_OK;
}
[cid:image002.png at 01D424BC.72920210]
Wes Holton
Senior Escalation Engineer
Technical Support
T +1 678-225-3807
[https://support.citrix.com/content/dam/citrixsupport/signature/TSIA-citrix-support.jpg]
CONFIDENTIALITY NOTICE
This e-mail message and all documents which accompany it are intended only for the use of the individual or entity to which addressed, and may contain privileged or confidential information. Any unauthorized disclosure or distribution of this e-mail message is prohibited. Any private files or utilities that are included in this e-mail are intended only for the use of the individual or entity to which this is addressed and distribution of these files or utilities is prohibited. If you have received this e-mail message in error, please notify me immediately. Thank you.
Customer Satisfaction is our goal.
If you have feedback regarding my performance, please feel free to contact my manager Robert.poston at citrix.com<mailto:Robert.poston at citrix.com>
[https://support.citrix.com/content/dam/citrixsupport/signature/tse-email-banner.png]<https://support.citrix.com/email-banner>
_______________________________________________
Enterprise mailing list
Enterprise at mozilla.org<mailto:Enterprise at mozilla.org>
https://mail.mozilla.org/listinfo/enterprise
To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to enterprise-request at mozilla.org<mailto:enterprise-request at mozilla.org> with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20180726/981bfe85/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1341 bytes
Desc: image002.png
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20180726/981bfe85/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1341 bytes
Desc: image003.png
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20180726/981bfe85/attachment-0005.png>
More information about the Enterprise
mailing list