|
|
DescriptionAdd FetchUtils::normalizeHeaderValue()
These api will be used to normalize the header values
in Fetch and XHR module.
Background information:
This is splitted from [1], and will be used by [1] and [2].
[1] https://codereview.chromium.org/1288263003/
[2] https://codereview.chromium.org/1342443004/
BUG=455099
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Total comments: 4
Patch Set 7 : #Patch Set 8 : #
Messages
Total messages: 54 (21 generated)
shiva.jm@samsung.com changed reviewers: + hiroshige@chromium.org, japhet@chromium.org, mkwst@chromium.org, tyoshino@chromium.org, yhirano@chromium.org
pls have a look.
Thanks! LGTM. > CL Description > Add normalizeHeaderValue() util api How about "Add FetchUtils::normalizeHeaderValue()"? Background information for record and other reviewers: This is splitted from [1], and will be used by [1] and [2]. [1] https://codereview.chromium.org/1288263003/ [2] https://codereview.chromium.org/1342443004/ core/fetch OWNERs, could you take a look?
lgtm
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm
The CQ bit was checked by shiva.jm@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/1
japhet@, could you take a look as a core/fetch OWNER?
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, no build URL)
LGTM, but please add a unit test verifying the method's behavior.
On 2015/09/16 12:39:43, Mike West (slow) wrote: > LGTM, but please add a unit test verifying the method's behavior. FetchUtils.cpp has no unit test file under core/fetch/. so shall we add new test file FetchUtilsTest.cpp under core/fetch/, OR shall we add the test for new api added in ResourceTest.cpp itself ?.
On 2015/09/19 at 04:45:08, shiva.jm wrote: > On 2015/09/16 12:39:43, Mike West (slow) wrote: > > LGTM, but please add a unit test verifying the method's behavior. > > FetchUtils.cpp has no unit test file under core/fetch/. so shall we add > new test file FetchUtilsTest.cpp under core/fetch/, OR shall we add the test for new api added in ResourceTest.cpp itself ?. Probably best to add a FetchUtilsTest.cpp.
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/80001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/100001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/...)
updated the patch with tests, pls have a look.
LGTM % test nits. https://codereview.chromium.org/1341273002/diff/100001/Source/core/fetch/Fetc... File Source/core/fetch/FetchUtilsTest.cpp (right): https://codereview.chromium.org/1341273002/diff/100001/Source/core/fetch/Fetc... Source/core/fetch/FetchUtilsTest.cpp:28: EXPECT_EQ("test", FetchUtils::normalizeHeaderValue("test")); Nit: Can you add leading examples of these values as well. Right now you're only testing them at the end of the string. Nit: Can you add whitespace inside the test value to ensure that it's not stripped? https://codereview.chromium.org/1341273002/diff/100001/Source/core/fetch/Fetc... Source/core/fetch/FetchUtilsTest.cpp:28: EXPECT_EQ("test", FetchUtils::normalizeHeaderValue("test")); Nit: Can you add leading examples of these values as well. Right now you're only testing them at the end of the string. Nit: Can you add whitespace inside the test value to ensure that it's not stripped?
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/110001
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/130001
updated the tests, pls have a look. https://codereview.chromium.org/1341273002/diff/100001/Source/core/fetch/Fetc... File Source/core/fetch/FetchUtilsTest.cpp (right): https://codereview.chromium.org/1341273002/diff/100001/Source/core/fetch/Fetc... Source/core/fetch/FetchUtilsTest.cpp:28: EXPECT_EQ("test", FetchUtils::normalizeHeaderValue("test")); On 2015/09/21 11:31:27, Mike West (slow) wrote: > Nit: Can you add leading examples of these values as well. Right now you're only > testing them at the end of the string. > > Nit: Can you add whitespace inside the test value to ensure that it's not > stripped? Done. https://codereview.chromium.org/1341273002/diff/100001/Source/core/fetch/Fetc... Source/core/fetch/FetchUtilsTest.cpp:28: EXPECT_EQ("test", FetchUtils::normalizeHeaderValue("test")); On 2015/09/21 11:31:27, Mike West (slow) wrote: > Nit: Can you add leading examples of these values as well. Right now you're only > testing them at the end of the string. > > Nit: Can you add whitespace inside the test value to ensure that it's not > stripped? Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2015/09/22 07:21:43, commit-bot: I haz the power wrote: > Dry run: This issue passed the CQ dry run. bots have passed all tests, shall we commit ?
bots have passed all tests, shall we commit ?
The CQ bit was checked by shiva.jm@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/130001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by shiva.jm@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from hiroshige@chromium.org, tyoshino@chromium.org, yhirano@chromium.org, mkwst@chromium.org Link to the patchset: https://codereview.chromium.org/1341273002/#ps130001 (title: " ")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/130001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by shiva.jm@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/130001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by shiva.jm@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341273002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341273002/130001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
This landed as crbug.com/1364993003, closing. |