Chromium Code Reviews
DescriptionCross-origin iframes: collect data under hypothetical loading strategies
Log % of frames to never load if we only loaded those that are
- visible, or
- 1 screen below
- 2 screens below
- 3 screens below
We would load frames used for cross-origin talk in any of the scenarios.
Note that we only look below for frames we might have to preload and ignore
frames to the right, assuming that the vast majority of content is
consumed vertically.
Also note that logging to one bucket will also log to each lower bucket,
which makes sense: if a frame has to be loaded under the "1 screen"
scenario, it would have to be loaded under a "3 screen" scenario.
This data will inform discussion of what our policy might eventually be.
BUG=635105
Review-Url: https://codereview.chromium.org/2516473002
Cr-Commit-Position: refs/heads/master@{#453837}
Committed: https://chromium.googlesource.com/chromium/src/+/86dfe7dc82290cede82086ad6e42ecaf54af4376
Patch Set 1 #
Total comments: 5
Patch Set 2 : ToT #Patch Set 3 : just look below #
Total comments: 2
Patch Set 4 : ToT #Patch Set 5 : Do arithmetic instead of intersects #
Total comments: 1
Patch Set 6 : rebase #Patch Set 7 : honor scroll position and parent distance to viewport #Patch Set 8 : rebase #
Total comments: 3
Patch Set 9 : fix histograms.xml #
Messages
Total messages: 41 (19 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||