mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 1352070 - Part 1: In RDM, return the inner window size values of the RDM iframe when getting its outer size values via window.outerWidth/outerHeight r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D32253 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
c926d65d2f
commit
5e1ae47038
@ -3524,7 +3524,8 @@ void nsGlobalWindowOuter::SetInnerHeightOuter(int32_t aInnerHeight,
|
||||
|
||||
nsIntSize nsGlobalWindowOuter::GetOuterSize(CallerType aCallerType,
|
||||
ErrorResult& aError) {
|
||||
if (nsContentUtils::ResistFingerprinting(aCallerType)) {
|
||||
if (nsContentUtils::ResistFingerprinting(aCallerType) ||
|
||||
(mDoc && mDoc->InRDMPane())) {
|
||||
CSSIntSize size;
|
||||
aError = GetInnerSize(size);
|
||||
return nsIntSize(size.width, size.height);
|
||||
|
Loading…
Reference in New Issue
Block a user