Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Issue 777213002: Fix for InspectorOverlay violating document lifecycle expectations (Closed)

Created:
6 years ago by alex clarke (OOO till 29th)
Modified:
6 years ago
Reviewers:
dgozman, Sami, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org, rmcilroy
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fix for InspectorOverlay violating document lifecycle expectations Under some circumstances it's possible for InspectorOverlay::update to trigger InspectorOverlay::invalidate which can lead to a style recalc within a layout which violates document lifecycle expectations. For details of how the above could happen, see: https://code.google.com/p/chromium/issues/detail?id=432129#c77 The fix is to make InspectorOverlay::invalidate do nothing during an InspectorOverlay::update. BUG=432129 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186718

Patch Set 1 #

Patch Set 2 : Remove unwanted changes. #

Total comments: 1

Patch Set 3 : Fix image diff #

Patch Set 4 : Oops removing files meant for a different CL. #

Messages

Total messages: 12 (3 generated)
alex clarke (OOO till 29th)
6 years ago (2014-12-04 14:46:19 UTC) #2
alex clarke (OOO till 29th)
6 years ago (2014-12-04 14:46:27 UTC) #3
alex clarke (OOO till 29th)
Please take a look. I'm not that familiar with this part of the code base, ...
6 years ago (2014-12-05 11:21:01 UTC) #5
dgozman
I will try this out on Monday to understand what happens. https://codereview.chromium.org/777213002/diff/20001/Source/core/inspector/InspectorOverlay.cpp File Source/core/inspector/InspectorOverlay.cpp (right): ...
6 years ago (2014-12-06 12:34:18 UTC) #6
alex clarke (OOO till 29th)
On 2014/12/06 12:34:18, dgozman wrote: > I will try this out on Monday to understand ...
6 years ago (2014-12-08 15:44:40 UTC) #7
Sami
On 2014/12/08 15:44:40, alexclarke1 wrote: > On 2014/12/06 12:34:18, dgozman wrote: > > I will ...
6 years ago (2014-12-08 16:07:11 UTC) #8
dgozman
I was wrong with my assumptions. The problem occurs with an overlay document: |m_client->highlight()| call ...
6 years ago (2014-12-08 17:11:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/777213002/60001
6 years ago (2014-12-08 17:14:57 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-08 18:39:26 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=186718

Powered by Google App Engine
This is Rietveld 408576698