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

Issue 1866343002: Measure usage of image/media/plugin/text documents (Closed)

Created:
4 years, 8 months ago by philipj_slow
Modified:
4 years, 8 months ago
Reviewers:
pdr., esprehn, Ilya Sherman
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, blink-reviews-html_chromium.org, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, asvitkine+watch_chromium.org, blink-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Measure usage of generated documents (image/media/plugin/etc) As discussed on blink-dev: https://groups.google.com/a/chromium.org/d/msg/blink-dev/u79ubJvsTbI/c_kSGKrEAgAJ This *InFrame counters are intended as an estimate of cases where a script in the containing document could look at the generated DOM. BUG=597380 R=esprehn@chromium.org,pdr@chromium.org TBR=isherman@chromium.org Committed: https://crrev.com/6a361fd629fd216c5cb0a1108228a1d10585a136 Cr-Commit-Position: refs/heads/master@{#388723}

Patch Set 1 #

Patch Set 2 : SinkDocument + ViewSourceDocument #

Patch Set 3 : count in constructors + test #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/images/image-use-counters.html View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLViewSourceDocument.cpp View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/ImageDocument.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/MediaDocument.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/PluginDocument.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/TextDocument.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/SinkDocument.cpp View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
philipj_slow
4 years, 8 months ago (2016-04-07 11:56:21 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866343002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866343002/1
4 years, 8 months ago (2016-04-07 11:56:30 UTC) #3
philipj_slow
PTAL. I tested it manually by playing around with data:video/webm, and similar at the top-level ...
4 years, 8 months ago (2016-04-07 11:57:07 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-07 13:29:02 UTC) #6
philipj_slow
I just found issue 597380. I didn't do SinkDocument or HTMLViewSourceDocument, are either of those ...
4 years, 8 months ago (2016-04-07 14:42:38 UTC) #8
Ilya Sherman
histograms.xml lgtm
4 years, 8 months ago (2016-04-07 18:42:05 UTC) #9
pdr.
On 2016/04/07 at 18:42:05, isherman wrote: > histograms.xml lgtm LGTM
4 years, 8 months ago (2016-04-07 21:56:42 UTC) #10
esprehn
On 2016/04/07 at 14:42:38, philipj wrote: > I just found issue 597380. I didn't do ...
4 years, 8 months ago (2016-04-07 22:07:55 UTC) #11
philipj_slow
On 2016/04/07 22:07:55, esprehn wrote: > On 2016/04/07 at 14:42:38, philipj wrote: > > I ...
4 years, 8 months ago (2016-04-08 09:00:31 UTC) #13
pdr.
On 2016/04/08 at 09:00:31, philipj wrote: > On 2016/04/07 22:07:55, esprehn wrote: > > On ...
4 years, 8 months ago (2016-04-08 20:08:34 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866343002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866343002/40001
4 years, 8 months ago (2016-04-20 12:22:21 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/22039) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-04-20 12:24:29 UTC) #18
philipj_slow
On 2016/04/08 20:08:34, pdr wrote: > On 2016/04/08 at 09:00:31, philipj wrote: > > On ...
4 years, 8 months ago (2016-04-20 12:26:14 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866343002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866343002/60001
4 years, 8 months ago (2016-04-20 12:35:54 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-20 14:08:22 UTC) #23
pdr.
On 2016/04/20 at 14:08:22, commit-bot wrote: > Dry run: This issue passed the CQ dry ...
4 years, 8 months ago (2016-04-20 20:22:20 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866343002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866343002/60001
4 years, 8 months ago (2016-04-21 08:34:41 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-21 08:39:11 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:32:44 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/6a361fd629fd216c5cb0a1108228a1d10585a136
Cr-Commit-Position: refs/heads/master@{#388723}

Powered by Google App Engine
This is Rietveld 408576698