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

Issue 2184973002: Add UMA to count the usage of sendBeacon with non-simple Content-Type (Closed)

Created:
4 years, 4 months ago by tyoshino (SeeGerritForStatus)
Modified:
4 years, 4 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, gavinp+loader_chromium.org, haraken, Nate Chapin, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to count the usage of sendBeacon with non-simple Content-Type Also add stuff to allow for Finch based control. R=mkwst@chromium.org,isherman@chromium.org,jochen@chromium.org,yhirano@chromium.org BUG=490015 Committed: https://crrev.com/035deef5d982dceebbc9fde4d9743a34ddc0bc72 Cr-Commit-Position: refs/heads/master@{#409713}

Patch Set 1 #

Patch Set 2 : a #

Patch Set 3 : Don't count in ArrayBufferView #

Total comments: 2

Patch Set 4 : Addressed #5 #

Patch Set 5 : Allow for Finch #

Total comments: 2

Patch Set 6 : Add test and change runtime_features #

Patch Set 7 : Rebase #

Patch Set 8 : a #

Patch Set 9 : UMA #

Total comments: 2

Patch Set 10 : Address #30 #

Patch Set 11 : Mark virtual/stable/http/tests/navigation/beacon-blob-with-non-simple-type.html skipped #

Patch Set 12 : Rebase #

Patch Set 13 : Disable same-and-different-back.html #

Patch Set 14 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -25 lines) Patch
M content/child/runtime_features.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/common/content_features.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_features.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/VirtualTestSuites View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/navigation/beacon-blob-with-non-simple-type.html View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin-redirect-blob-expected.txt View 1 2 3 4 5 6 7 1 chunk +0 lines, -14 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/stable/http/tests/navigation/README.txt View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/stable/http/tests/navigation/beacon-cross-origin-redirect-blob-expected.txt View 1 2 3 4 5 6 7 0 chunks +-1 lines, --1 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchUtils.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FetchUtils.cpp View 1 chunk +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/beacon/NavigatorBeacon.cpp View 1 2 3 4 2 chunks +16 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebRuntimeFeatures.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebRuntimeFeatures.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 60 (28 generated)
tyoshino (SeeGerritForStatus)
4 years, 4 months ago (2016-07-27 09:09:04 UTC) #2
Ilya Sherman
histograms.xml lgtm
4 years, 4 months ago (2016-07-27 16:28:00 UTC) #3
tyoshino (SeeGerritForStatus)
Changed not to count in ArrayBufferView. It has been sending "Content-Type: application/octet-stream" but it's not ...
4 years, 4 months ago (2016-07-28 05:12:53 UTC) #4
Mike West
Skimming the associated bug, I hope we can quickly align with Mozilla's behavior. Would you ...
4 years, 4 months ago (2016-07-28 09:14:22 UTC) #5
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2184973002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2184973002/diff/40001/tools/metrics/histograms/histograms.xml#newcode77282 tools/metrics/histograms/histograms.xml:77282: + <int value="1468" label="SendBeaconWithNonSimpleContentType"/> On 2016/07/28 09:14:22, Mike West ...
4 years, 4 months ago (2016-07-28 11:47:39 UTC) #6
tyoshino (SeeGerritForStatus)
On 2016/07/28 09:14:22, Mike West wrote: > Skimming the associated bug, I hope we can ...
4 years, 4 months ago (2016-07-28 11:48:48 UTC) #7
Mike West
On 2016/07/28 at 11:48:48, tyoshino wrote: > On 2016/07/28 09:14:22, Mike West wrote: > > ...
4 years, 4 months ago (2016-07-28 12:36:50 UTC) #8
tyoshino (SeeGerritForStatus)
On 2016/07/28 12:36:50, Mike West wrote: > Ideally, you'd put the behavior behind a runtime ...
4 years, 4 months ago (2016-07-29 07:07:06 UTC) #9
tyoshino (SeeGerritForStatus)
On 2016/07/29 07:07:06, tyoshino wrote: > On 2016/07/28 12:36:50, Mike West wrote: > > Ideally, ...
4 years, 4 months ago (2016-07-29 07:11:07 UTC) #10
Mike West
LGTM, but you'll need a //content OWNER for the bits I can't stamp. Jochen, perhaps?
4 years, 4 months ago (2016-08-01 11:44:20 UTC) #13
Mike West
https://codereview.chromium.org/2184973002/diff/80001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in (right): https://codereview.chromium.org/2184973002/diff/80001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in#newcode248 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in:248: SendBeaconThrowForBlobWithNonSimpleType I'd make this `experimental`.
4 years, 4 months ago (2016-08-01 11:44:47 UTC) #14
jochen (gone - plz use gerrit)
can we have a test for that behavior please?
4 years, 4 months ago (2016-08-01 12:06:45 UTC) #15
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2184973002/diff/80001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in File third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in (right): https://codereview.chromium.org/2184973002/diff/80001/third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in#newcode248 third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in:248: SendBeaconThrowForBlobWithNonSimpleType On 2016/08/01 11:44:47, Mike West wrote: > I'd ...
4 years, 4 months ago (2016-08-02 11:30:02 UTC) #16
tyoshino (SeeGerritForStatus)
On 2016/08/01 12:06:45, jochen wrote: > can we have a test for that behavior please? ...
4 years, 4 months ago (2016-08-02 11:30:52 UTC) #17
jochen (gone - plz use gerrit)
lgtm
4 years, 4 months ago (2016-08-02 15:31:12 UTC) #24
tyoshino (SeeGerritForStatus)
+yhirano yhirano, please review layout test files. After jochen's review on ps7, I noticed that ...
4 years, 4 months ago (2016-08-03 07:40:46 UTC) #28
yhirano
On 2016/08/03 07:40:46, tyoshino wrote: > +yhirano > > yhirano, please review layout test files. ...
4 years, 4 months ago (2016-08-03 07:46:27 UTC) #29
yhirano
https://codereview.chromium.org/2184973002/diff/160001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2184973002/diff/160001/third_party/WebKit/LayoutTests/TestExpectations#newcode1396 third_party/WebKit/LayoutTests/TestExpectations:1396: crbug.com/490015 http/tests/navigation/beacon-cross-origin-redirect-blob.html [ Skip ] Adding some comments may ...
4 years, 4 months ago (2016-08-03 07:47:12 UTC) #30
tyoshino (SeeGerritForStatus)
On 2016/08/03 07:46:27, yhirano wrote: > On 2016/08/03 07:40:46, tyoshino wrote: > > +yhirano > ...
4 years, 4 months ago (2016-08-03 07:56:05 UTC) #31
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/2184973002/diff/160001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2184973002/diff/160001/third_party/WebKit/LayoutTests/TestExpectations#newcode1396 third_party/WebKit/LayoutTests/TestExpectations:1396: crbug.com/490015 http/tests/navigation/beacon-cross-origin-redirect-blob.html [ Skip ] On 2016/08/03 07:47:12, yhirano ...
4 years, 4 months ago (2016-08-03 08:00:41 UTC) #32
yhirano
On 2016/08/03 07:56:05, tyoshino wrote: > On 2016/08/03 07:46:27, yhirano wrote: > > On 2016/08/03 ...
4 years, 4 months ago (2016-08-03 08:01:41 UTC) #33
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/2184973002/200001
4 years, 4 months ago (2016-08-03 10:02:11 UTC) #36
tyoshino (SeeGerritForStatus)
I've made last minute change to TestExpectations to skip virtual/stable/http/tests/navigation/beacon-blob-with-non-simple-type.html. Regardless of for which test ...
4 years, 4 months ago (2016-08-03 10:03:26 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/177269) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 4 months ago (2016-08-03 10:03:44 UTC) #39
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/2184973002/220001
4 years, 4 months ago (2016-08-03 10:06:45 UTC) #43
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/2184973002/220001
4 years, 4 months ago (2016-08-03 10:07:45 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/266639)
4 years, 4 months ago (2016-08-03 11:25:25 UTC) #48
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/2184973002/240001
4 years, 4 months ago (2016-08-03 12:03:38 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/266673)
4 years, 4 months ago (2016-08-03 16:02:51 UTC) #53
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/2184973002/260001
4 years, 4 months ago (2016-08-04 01:23:44 UTC) #56
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 4 months ago (2016-08-04 03:25:48 UTC) #58
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 03:27:28 UTC) #60
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/035deef5d982dceebbc9fde4d9743a34ddc0bc72
Cr-Commit-Position: refs/heads/master@{#409713}

Powered by Google App Engine
This is Rietveld 408576698