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

Issue 2692993003: Invalidate throttling-related dirty bits when changing cross-origin status. (Closed)

Created:
3 years, 10 months ago by chrishtr
Modified:
3 years, 10 months ago
Reviewers:
pdr., Sami
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Invalidate throttling-related dirty bits when changing cross-origin status. Changing whether a frame is cross-origin affects render throttling. We need to invalidate when it changes, in particular when updating document.domain from script. BUG=691569 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2692993003 Cr-Commit-Position: refs/heads/master@{#451041} Committed: https://chromium.googlesource.com/chromium/src/+/c652c83fd35923669bfe64c7ec436977bbfed79d

Patch Set 1 #

Patch Set 2 : none #

Total comments: 2

Patch Set 3 : none #

Patch Set 4 : none #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -5 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 chunks +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp View 1 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
chrishtr
3 years, 10 months ago (2017-02-15 00:20:13 UTC) #7
chrishtr
seems ok?
3 years, 10 months ago (2017-02-16 02:05:38 UTC) #13
pdr.
LGTM https://codereview.chromium.org/2692993003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2692993003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4656 third_party/WebKit/Source/core/dom/Document.cpp:4656: if (view()) WDYT of changing this to only ...
3 years, 10 months ago (2017-02-16 04:04:33 UTC) #14
pdr.
Can you remove the temporary conditional added in PaintLayerClipper as well?
3 years, 10 months ago (2017-02-16 04:12:16 UTC) #15
chrishtr
On 2017/02/16 at 04:12:16, pdr wrote: > Can you remove the temporary conditional added in ...
3 years, 10 months ago (2017-02-16 04:25:17 UTC) #17
chrishtr
https://codereview.chromium.org/2692993003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2692993003/diff/20001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4656 third_party/WebKit/Source/core/dom/Document.cpp:4656: if (view()) On 2017/02/16 at 04:04:33, pdr. wrote: > ...
3 years, 10 months ago (2017-02-16 04:25:25 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692993003/60001
3 years, 10 months ago (2017-02-16 04:26:14 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/367638)
3 years, 10 months ago (2017-02-16 06:15:18 UTC) #23
Sami
lgtm, thanks for the fix!
3 years, 10 months ago (2017-02-16 14:48:10 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692993003/60001
3 years, 10 months ago (2017-02-16 16:30:25 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 19:17:14 UTC) #29
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c652c83fd35923669bfe64c7ec43...

Powered by Google App Engine
This is Rietveld 408576698