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

Issue 2672823006: Add UseCounter to see how often the "allowfullscreen" attribute is modified. (Closed)

Created:
3 years, 10 months ago by iclelland
Modified:
3 years, 10 months ago
Reviewers:
foolip, Steven Holte
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UseCounter to see how often the "allowfullscreen" attribute is modified. Before implementing snapshotting of the iframe allowfullscreen attribute, we should have some idea of how often the existing live attribute is being modified after the frame is attached to a document. This adds a new UseCounter named HTMLIFrameElementAllowfullscreenAttribute to track this. BUG=682282 Review-Url: https://codereview.chromium.org/2672823006 Cr-Commit-Position: refs/heads/master@{#448923} Committed: https://chromium.googlesource.com/chromium/src/+/2906e0c1298431ea3cdb9fb3a8da8046d7c9e6bb

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update Use counter name #

Patch Set 3 : Change use counter to only count setting allowfullscreen #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp View 1 2 1 chunk +10 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
iclelland
+r foolip, can you sanity-check this? Also, I'm unsure whether this counter is sufficient for ...
3 years, 10 months ago (2017-02-03 20:14:37 UTC) #2
foolip
Tentatively LGTM, but I'm not sure if this is measuring exactly the risk involved with ...
3 years, 10 months ago (2017-02-05 23:22:08 UTC) #7
iclelland
Holding off on committing this for now. I'm going to see what I can do ...
3 years, 10 months ago (2017-02-06 20:15:26 UTC) #8
iclelland
foolip, is this what you had in mind for only testing when the attribute is ...
3 years, 10 months ago (2017-02-06 21:50:23 UTC) #11
foolip
On 2017/02/06 21:50:23, iclelland wrote: > foolip, is this what you had in mind for ...
3 years, 10 months ago (2017-02-06 22:01:56 UTC) #12
foolip
On 2017/02/06 22:01:56, foolip wrote: > On 2017/02/06 21:50:23, iclelland wrote: > > foolip, is ...
3 years, 10 months ago (2017-02-06 22:03:51 UTC) #13
iclelland
+r holte, can you PTAL at the histogram change? Thanks!
3 years, 10 months ago (2017-02-07 13:48:47 UTC) #17
Steven Holte
lgtm
3 years, 10 months ago (2017-02-07 23:36:51 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/2672823006/40001
3 years, 10 months ago (2017-02-07 23:54:25 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/149172) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 23:58:15 UTC) #22
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/2672823006/60001
3 years, 10 months ago (2017-02-08 04:42:39 UTC) #25
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 06:52:18 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/2906e0c1298431ea3cdb9fb3a8da...

Powered by Google App Engine
This is Rietveld 408576698