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

Issue 1328763002: Make the low priority iframe flag affect all resources in cross origin iframes (Closed)

Created:
5 years, 3 months ago by Nate Chapin
Modified:
5 years, 3 months ago
CC:
blink-reviews, gavinp+loader_chromium.org, kinuko+watch, tyoshino+watch_chromium.org, Yoav Weiss
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make the low priority iframe flag affect all resources in cross origin iframes Currently it affects all iframes, but only the main resource. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201843

Patch Set 1 #

Patch Set 2 : All iframes, not just cross origin iframes #

Total comments: 2

Patch Set 3 : Rebase + remove unused top() override #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M Source/core/loader/FrameFetchContext.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/loader/FrameFetchContextTest.cpp View 1 2 3 chunks +17 lines, -7 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328763002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328763002/1
5 years, 3 months ago (2015-09-02 23:37:13 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-03 00:40:41 UTC) #4
Nate Chapin
5 years, 3 months ago (2015-09-03 16:32:28 UTC) #6
Pat Meenan
On 2015/09/03 16:32:28, Nate Chapin wrote: LGTM - though there's a good chance this still ...
5 years, 3 months ago (2015-09-03 16:45:22 UTC) #7
Bryan McQuade
If possible, we should try to catch the resources loaded in those friendly iframes as ...
5 years, 3 months ago (2015-09-03 17:03:15 UTC) #8
Nate Chapin
How would we differentiate these same-origin ad iframes from other same-origin iframes? Or would any ...
5 years, 3 months ago (2015-09-03 18:12:42 UTC) #9
blink-reviews
I'm thinking all iFrames. Not sure how much something like gmail uses frames but for ...
5 years, 3 months ago (2015-09-03 18:18:13 UTC) #10
Nate Chapin
Looks like gmail has ~15 iframes, ~3 of which are same origin. At that point, ...
5 years, 3 months ago (2015-09-03 18:34:44 UTC) #11
blink-reviews
Optimally we'd do it for frames that aren't in the viewport, but yes - pretty ...
5 years, 3 months ago (2015-09-03 18:37:35 UTC) #12
Nate Chapin
Updated to drop priority for all resources in all iframes. Should that policy apply after ...
5 years, 3 months ago (2015-09-03 21:33:24 UTC) #13
blink-reviews
Shouldn't matter once the main frame is done loading though it's probably not worth any ...
5 years, 3 months ago (2015-09-03 22:37:31 UTC) #14
Bryan McQuade
LGTM https://codereview.chromium.org/1328763002/diff/20001/Source/core/loader/FrameFetchContextTest.cpp File Source/core/loader/FrameFetchContextTest.cpp (right): https://codereview.chromium.org/1328763002/diff/20001/Source/core/loader/FrameFetchContextTest.cpp#newcode64 Source/core/loader/FrameFetchContextTest.cpp:64: Frame* top() const override { return m_parent.get(); } ...
5 years, 3 months ago (2015-09-04 16:40:28 UTC) #15
Nate Chapin
https://codereview.chromium.org/1328763002/diff/20001/Source/core/loader/FrameFetchContextTest.cpp File Source/core/loader/FrameFetchContextTest.cpp (right): https://codereview.chromium.org/1328763002/diff/20001/Source/core/loader/FrameFetchContextTest.cpp#newcode64 Source/core/loader/FrameFetchContextTest.cpp:64: Frame* top() const override { return m_parent.get(); } On ...
5 years, 3 months ago (2015-09-04 21:52:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328763002/40001
5 years, 3 months ago (2015-09-04 21:52:41 UTC) #19
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 3 months ago (2015-09-04 21:52:44 UTC) #21
ojan
lgtm
5 years, 3 months ago (2015-09-05 03:08:13 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1328763002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1328763002/40001
5 years, 3 months ago (2015-09-05 03:08:23 UTC) #24
commit-bot: I haz the power
5 years, 3 months ago (2015-09-05 04:13:50 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201843

Powered by Google App Engine
This is Rietveld 408576698