New issue
Advanced search Search tips

Issue 727940 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocking:
issue 723406
issue 730398



Sign in to add a comment

LocalFrameView::ForceLayoutParentViewIfNeeded can cause lifecycle state to change

Project Member Reported by szager@chromium.org, May 30 2017

Issue description

That method calls UpdateLayout on the parent, which should *not* lead to any changes to the child's lifecycle state.  However, when a CHECK was added to verify this, it caused crashes:

https://chromium-review.googlesource.com/517435

It's worth looking at intrinsic size calculation for the LayoutReplaced in the parent document; it does appear to reach into the child FrameView:

LayoutReplaced::ComputeIntrinsicSizingInfoForReplacedContent
-> LayoutReplaced::ComputeIntrinsicSizingInfo

The first call is on the LayoutReplaced in the parent document; the second call is on the LayoutEmbeddedObject in the child document.
 

Comment 1 by e...@chromium.org, Jun 5 2017

Status: Available (was: Untriaged)
Blocking: 723406
Owner: szager@chromium.org
Project Member

Comment 4 by bugdroid1@chromium.org, Jun 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7200acac17a321b76b0f410f1833b7ce6daccfd8

commit 7200acac17a321b76b0f410f1833b7ce6daccfd8
Author: Stefan Zager <szager@chromium.org>
Date: Tue Jun 06 23:12:57 2017

Add CHECK to help debug document lifecycle issue.

BUG= 727940 
R=eae@chromium.org

Change-Id: Ic6f322717af6e4966ad4d86cd429535731c3fb4b
Reviewed-on: https://chromium-review.googlesource.com/524712
Commit-Queue: Stefan Zager <szager@chromium.org>
Reviewed-by: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#477455}
[modify] https://crrev.com/7200acac17a321b76b0f410f1833b7ce6daccfd8/third_party/WebKit/Source/core/dom/Document.cpp

Blockedon: 730398

Comment 6 by szager@chromium.org, Jun 22 2017

Blockedon: -730398

Comment 7 by szager@chromium.org, Jun 22 2017

Blocking: 730398
Project Member

Comment 8 by bugdroid1@chromium.org, Jun 23 2017

Comment 9 by szager@chromium.org, Jul 10 2017

Status: Fixed (was: Available)

Sign in to add a comment