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

Issue 1756193002: Extract trial tokens using <meta http-equiv> (Closed)

Created:
4 years, 9 months ago by chasej
Modified:
4 years, 9 months ago
Reviewers:
jbroman, iclelland
CC:
blink-reviews, chasej+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Extract trial tokens using <meta http-equiv> In addition to meta tags, the Experimental Framework will eventually support providing trial tokens via an HTTP header. With support for an HTTP header, it makes sense for the meta tag to use the http-equiv attribute. This CL changes the EF to use the http-equiv attribute, instead of the name attribute, to extract meta tags with trial tokens. The support for HTTP headers will not be included in M51. However, we want to avoid launching the EF in M50, then changing the expected meta tag format in M51+. The logic for extracting meta tags was already covered by automated tests (both unit and layout). BUG=590349 Committed: https://crrev.com/312c8c52c920d2df5f3ca33bff03c159b9db257b Cr-Commit-Position: refs/heads/master@{#379306}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address nits #

Total comments: 1

Patch Set 3 : Change header name to singular 'origin-trial' #

Messages

Total messages: 15 (5 generated)
chasej
iclelland, please take a look.
4 years, 9 months ago (2016-03-02 20:05:09 UTC) #2
iclelland
lgtm with one nit https://codereview.chromium.org/1756193002/diff/1/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp File third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp (right): https://codereview.chromium.org/1756193002/diff/1/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp#newcode42 third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp:42: if (equalIgnoringCase(metaElement->httpEquiv(), kTrialMetaTagName)) { nit; ...
4 years, 9 months ago (2016-03-02 22:56:33 UTC) #3
chasej
https://codereview.chromium.org/1756193002/diff/1/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp File third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp (right): https://codereview.chromium.org/1756193002/diff/1/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp#newcode42 third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp:42: if (equalIgnoringCase(metaElement->httpEquiv(), kTrialMetaTagName)) { On 2016/03/02 22:56:33, iclelland wrote: ...
4 years, 9 months ago (2016-03-03 06:20:48 UTC) #4
chasej
jbroman, please take a look.
4 years, 9 months ago (2016-03-03 06:26:22 UTC) #6
jbroman
https://codereview.chromium.org/1756193002/diff/20001/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp File third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp (right): https://codereview.chromium.org/1756193002/diff/20001/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp#newcode20 third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp:20: const char kTrialHeaderName[] = "origin-trials"; Is this going to ...
4 years, 9 months ago (2016-03-03 15:08:41 UTC) #7
chasej
On 2016/03/03 15:08:41, jbroman wrote: > https://codereview.chromium.org/1756193002/diff/20001/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp > File third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp > (right): > > https://codereview.chromium.org/1756193002/diff/20001/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp#newcode20 ...
4 years, 9 months ago (2016-03-03 16:24:28 UTC) #8
jbroman
thanks, lgtm
4 years, 9 months ago (2016-03-03 16:27:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1756193002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1756193002/40001
4 years, 9 months ago (2016-03-04 17:29:16 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-04 17:35:16 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 17:36:24 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/312c8c52c920d2df5f3ca33bff03c159b9db257b
Cr-Commit-Position: refs/heads/master@{#379306}

Powered by Google App Engine
This is Rietveld 408576698