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

Issue 1778413005: Don't test implementation details for invalid Link headers. (Closed)

Created:
4 years, 9 months ago by Marijn Kruisselbrink
Modified:
4 years, 9 months ago
Reviewers:
Yoav Weiss
CC:
blink-reviews, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_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

Don't test implementation details for invalid Link headers. This changes the basic SingleLinkHeaderTest to not verify implementation details of how LinkHeader deals with invalid headers. If a header is invalid it doesn't matter what it's url, rel and other attributes are set to. Also adds a missing EXPECT to compare the expected "as" attribute with the returned "as" attribute. Committed: https://crrev.com/bd9d199b6daf57b7b304c5cd16d6a53cba8582f5 Cr-Commit-Position: refs/heads/master@{#381790}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -73 lines) Patch
M third_party/WebKit/Source/core/loader/LinkHeaderTest.cpp View 2 chunks +76 lines, -73 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Marijn Kruisselbrink
To make it easier to compare test results with a possible different implementation, it seems ...
4 years, 9 months ago (2016-03-11 20:35:34 UTC) #3
Marijn Kruisselbrink
yoav: ping
4 years, 9 months ago (2016-03-17 18:06:56 UTC) #4
Yoav Weiss
On 2016/03/17 18:06:56, Marijn Kruisselbrink wrote: > yoav: ping Sorry for the delay. LGTM
4 years, 9 months ago (2016-03-17 19:49:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1778413005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1778413005/1
4 years, 9 months ago (2016-03-17 19:54:04 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-17 20:50:27 UTC) #8
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 20:51:26 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bd9d199b6daf57b7b304c5cd16d6a53cba8582f5
Cr-Commit-Position: refs/heads/master@{#381790}

Powered by Google App Engine
This is Rietveld 408576698