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

Issue 2178973002: Add use counter for multiple origins in Timing-Allow-Origin (Closed)

Created:
4 years, 5 months ago by Yoav Weiss
Modified:
4 years, 4 months ago
Reviewers:
Mike West
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add use counter for multiple origins in Timing-Allow-Origin As part of a discussion about Timing-Allow-Origin and multiple origins in that syntax[1], the possibility of a change to the syntax was raised. In order for that to be considered, we need to check usage. This CL does that by adding a counter when there's more than 1 origin in that header. [1] https://github.com/w3c/resource-timing/issues/62 BUG= Committed: https://crrev.com/b3fc51169fddaddeae171b2cc7f10170706da77c Cr-Commit-Position: refs/heads/master@{#408877}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : Added counters #

Total comments: 1

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.cpp View 1 2 3 6 chunks +16 lines, -8 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
Yoav Weiss
4 years, 5 months ago (2016-07-25 22:22:22 UTC) #11
Mike West
https://codereview.chromium.org/2178973002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceBase.cpp File third_party/WebKit/Source/core/timing/PerformanceBase.cpp (right): https://codereview.chromium.org/2178973002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceBase.cpp#newcode206 third_party/WebKit/Source/core/timing/PerformanceBase.cpp:206: UseCounter::count(context, UseCounter::MultipleOriginsInTimingAllowOrigin); It's probably worth adding a counter for ...
4 years, 4 months ago (2016-07-27 08:46:10 UTC) #12
Yoav Weiss
On 2016/07/27 08:46:10, Mike West wrote: > https://codereview.chromium.org/2178973002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceBase.cpp > File third_party/WebKit/Source/core/timing/PerformanceBase.cpp (right): > > https://codereview.chromium.org/2178973002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceBase.cpp#newcode206 ...
4 years, 4 months ago (2016-07-27 11:59:20 UTC) #17
Mike West
LGTM, assuming you rebase and re-run the histograms.xml generator. https://codereview.chromium.org/2178973002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (right): https://codereview.chromium.org/2178973002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h#newcode1261 third_party/WebKit/Source/core/frame/UseCounter.h:1261: ...
4 years, 4 months ago (2016-07-28 13:41:43 UTC) #18
Yoav Weiss
rebase
4 years, 4 months ago (2016-07-30 15:21:26 UTC) #19
Yoav Weiss
On 2016/07/30 15:21:26, Yoav Weiss wrote: > rebase Thanks for reviewing! :)
4 years, 4 months ago (2016-07-30 15:24:23 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/2178973002/60001
4 years, 4 months ago (2016-07-30 21:50:17 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-07-30 21:53:47 UTC) #29
commit-bot: I haz the power
4 years, 4 months ago (2016-07-30 21:55:22 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b3fc51169fddaddeae171b2cc7f10170706da77c
Cr-Commit-Position: refs/heads/master@{#408877}

Powered by Google App Engine
This is Rietveld 408576698