New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 803442 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Strict site isolation: Cross-site iframe scaling does not get updated with parent window

Reported by alvinhoc...@gmail.com, Jan 18 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.99 Safari/537.36

Steps to reproduce the problem:
1. Have two monitors with different DPI scaling
2. Enable strict site isolation on chrome://flags/#enable-site-per-process
3. Visit https://www.reddit.com/domain/youtube.com/ and expand one of the videos
4. Move the window containing the page to another monitor

What is the expected behavior?

What went wrong?
The scaling of the video (iframe) does not get updated.

Did this work before? N/A 

Chrome version: 64.0.3282.99  Channel: beta
OS Version: 10.0
Flash Version: 

This does not happen with strict site isolation disabled.
 

Comment 1 by f...@opera.com, Jan 18 2018

Components: -UI Internals>Sandbox>SiteIsolation
Cc: kenrb@chromium.org wjmaclean@chromium.org lfg@chromium.org
Cc: fsam...@chromium.org
+fsamuel@

I believe the pathways that propagate device scale factor to OOPIFs changed as part of the new viz surface sync work.
Is this possibly related to

https://bugs.chromium.org/p/chromium/issues/detail?id=778443

?
Labels: Needs-Triage-M64

Comment 6 by fsamuel@google.com, Jan 18 2018

Owner: fsam...@chromium.org
Status: Assigned (was: Unconfirmed)
Oddly enough this works fine for <webview> but is broken for OOPIFs on this page. I'm not yet sure why but I do suspect this is a surface sync bug. Assigning myself to it.
I've verified that device scale factor does get propagated correctly from parent to child and a new LocalSurfaceId is allocated on the way done. This bug seems specific to using zoom for device scale factor. --enable-use-zoom-for-dsf=false makes the problem go away. I'm continuing to investigate.
Cc: sadrul@chromium.org
Owner: osh...@chromium.org
OK, I honestly have no idea what's going on but I verified this happens even if I disable surface sync via --disable-features="SurfaceSynchronization" so I'm passing this along to a DSF expert: oshima@.

Comment 9 by osh...@chromium.org, Jan 23 2018

Status: Started (was: Assigned)
We found a bug & a fix. Looking into how we can test this now.

Comment 10 by creis@chromium.org, Jan 30 2018

That's great!  Any updates on the test?
Project Member

Comment 12 by bugdroid1@chromium.org, Feb 6 2018

Status: Fixed (was: Started)
Cc: nzolghadr@chromium.org creis@chromium.org osh...@chromium.org
 Issue 807112  has been merged into this issue.

Comment 15 by nasko@chromium.org, Feb 15 2018

oshima@, how risky is this change for merging back in M65?
I made this change soon after branch cut, so the risk should be low.
I could cherry pick cleanly and it seems to be working (I built and tested the  build on branch)

Do you want to merge to 65?

Comment 17 by nasko@chromium.org, Feb 21 2018

The CL looks fine to merge for me, however it does move code around and I wonder if other merges would be impacted. Since it has been on canary for a while, I support merging it in M65.

Comment 18 by nasko@chromium.org, Feb 21 2018

Labels: Merge-Request-65
Forgot to add proper label, doing so now.
Project Member

Comment 19 by sheriffbot@chromium.org, Feb 21 2018

Labels: -Merge-Request-65 Merge-Review-65 Hotlist-Merge-Review
This bug requires manual review: We are only 12 days from stable.
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), bhthompson@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-65 Merge-Rejected-65
Rejecting merge to M65 per offline chat with nasko@ as we're very close to M65 stable promotion to minimize the risk. Thank you.

Sign in to add a comment