Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(55)

Issue 1166473002: Add usage counters for secure and insecure use of input type file (Closed)

Created:
4 years, 11 months ago by jww
Modified:
4 years, 11 months ago
Reviewers:
Mike West
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add usage counters for secure and insecure use of input type file This CL adds usage counters to measure when input form elements with type "file" are attached to the DOM, and whether it is in a secure or insecure context. May be useful in the future in determining if it can be deprecated later on insecure origins. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196191

Patch Set 1 #

Patch Set 2 : Change count to always, not just when visible #

Patch Set 3 : Rebase on ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M Source/core/frame/UseCounter.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/forms/FileInputType.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/forms/FileInputType.cpp View 1 2 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
jww
4 years, 11 months ago (2015-05-28 23:26:34 UTC) #2
Mike West
Why would we only count if the element is visible? And when is the count ...
4 years, 11 months ago (2015-05-29 05:56:31 UTC) #3
jww
I'll look into the details tomorrow, but the summary is this is how all the ...
4 years, 11 months ago (2015-05-29 06:08:33 UTC) #4
Mike West
On 2015/05/29 at 06:08:33, jww wrote: > I'll look into the details tomorrow It looks ...
4 years, 11 months ago (2015-05-29 06:31:20 UTC) #5
jww
On 2015/05/29 06:31:20, Mike West wrote: > On 2015/05/29 at 06:08:33, jww wrote: > > ...
4 years, 11 months ago (2015-05-29 17:09:10 UTC) #6
jww
Changed count from just when visible to always.
4 years, 11 months ago (2015-05-29 17:16:21 UTC) #7
Mike West
LGTM.
4 years, 11 months ago (2015-05-30 19:22:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166473002/20001
4 years, 11 months ago (2015-05-30 19:30:30 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/45980)
4 years, 11 months ago (2015-05-30 19:33:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166473002/40001
4 years, 11 months ago (2015-05-30 21:50:36 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64045)
4 years, 11 months ago (2015-05-31 00:36:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166473002/40001
4 years, 11 months ago (2015-05-31 00:48:37 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/64057)
4 years, 11 months ago (2015-05-31 03:35:57 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1166473002/40001
4 years, 11 months ago (2015-05-31 07:33:58 UTC) #23
commit-bot: I haz the power
4 years, 11 months ago (2015-05-31 08:43:59 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196191

Powered by Google App Engine
This is Rietveld 408576698