Commit 3d140e8c authored by rajendrant's avatar rajendrant Committed by Commit Bot

Add better check for page ID in chrome-proxy header

Change-Id: I1e38e6d983a0f46c8ace24bfe19a97600f90675b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1575127Reviewed-by: default avatarTarun Bansal <tbansal@chromium.org>
Commit-Queue: rajendrant <rajendrant@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652452}
parent 1247389d
......@@ -253,6 +253,7 @@ IN_PROC_BROWSER_TEST_F(DataReductionProxyBrowsertest, ChromeProxyHeaderSet) {
std::string body = GetBody();
EXPECT_THAT(body, HasSubstr(kSessionKey));
EXPECT_THAT(body, HasSubstr("pid="));
EXPECT_THAT(body, Not(HasSubstr("pid=0")));
EXPECT_THAT(body, HasSubstr("s="));
EXPECT_THAT(body, HasSubstr("c="));
EXPECT_THAT(body, HasSubstr("b="));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment