| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "net/cookies/cookie_constants.h" | 7 #include "net/cookies/cookie_constants.h" |
| 8 #include "net/cookies/parsed_cookie.h" | 8 #include "net/cookies/parsed_cookie.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 EXPECT_TRUE(pc.IsValid()); | 85 EXPECT_TRUE(pc.IsValid()); |
| 86 EXPECT_TRUE(pc.IsSecure()); | 86 EXPECT_TRUE(pc.IsSecure()); |
| 87 EXPECT_TRUE(pc.HasPath()); | 87 EXPECT_TRUE(pc.HasPath()); |
| 88 EXPECT_EQ("/", pc.Path()); | 88 EXPECT_EQ("/", pc.Path()); |
| 89 EXPECT_EQ("", pc.Name()); | 89 EXPECT_EQ("", pc.Name()); |
| 90 EXPECT_EQ("BLAHHH", pc.Value()); | 90 EXPECT_EQ("BLAHHH", pc.Value()); |
| 91 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 91 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 92 } | 92 } |
| 93 | 93 |
| 94 TEST(ParsedCookieTest, TestAttributeCase) { | 94 TEST(ParsedCookieTest, TestAttributeCase) { |
| 95 ParsedCookie pc("BLAHHH; Path=/; sECuRe; httpONLY; sAmESitE; pRIoRitY=hIgH"); | 95 ParsedCookie pc( |
| 96 "BLAHHH; Path=/; sECuRe; httpONLY; sAmESitE=StrIct; pRIoRitY=hIgH"); |
| 96 EXPECT_TRUE(pc.IsValid()); | 97 EXPECT_TRUE(pc.IsValid()); |
| 97 EXPECT_TRUE(pc.IsSecure()); | 98 EXPECT_TRUE(pc.IsSecure()); |
| 98 EXPECT_TRUE(pc.IsHttpOnly()); | 99 EXPECT_TRUE(pc.IsHttpOnly()); |
| 99 EXPECT_TRUE(pc.IsSameSite()); | 100 EXPECT_TRUE(pc.HasSameSite()); |
| 101 EXPECT_EQ(COOKIE_SAME_SITE_STRICT, pc.SameSite()); |
| 100 EXPECT_TRUE(pc.HasPath()); | 102 EXPECT_TRUE(pc.HasPath()); |
| 101 EXPECT_EQ("/", pc.Path()); | 103 EXPECT_EQ("/", pc.Path()); |
| 102 EXPECT_EQ("", pc.Name()); | 104 EXPECT_EQ("", pc.Name()); |
| 103 EXPECT_EQ("BLAHHH", pc.Value()); | 105 EXPECT_EQ("BLAHHH", pc.Value()); |
| 104 EXPECT_EQ(COOKIE_PRIORITY_HIGH, pc.Priority()); | 106 EXPECT_EQ(COOKIE_PRIORITY_HIGH, pc.Priority()); |
| 105 EXPECT_EQ(5U, pc.NumberOfAttributes()); | 107 EXPECT_EQ(5U, pc.NumberOfAttributes()); |
| 106 } | 108 } |
| 107 | 109 |
| 108 TEST(ParsedCookieTest, TestDoubleQuotedNameless) { | 110 TEST(ParsedCookieTest, TestDoubleQuotedNameless) { |
| 109 ParsedCookie pc("\"BLA\\\"HHH\"; path=/; secure;"); | 111 ParsedCookie pc("\"BLA\\\"HHH\"; path=/; secure;"); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 140 EXPECT_TRUE(pc.IsValid()); | 142 EXPECT_TRUE(pc.IsValid()); |
| 141 EXPECT_EQ("ABC", pc.Name()); | 143 EXPECT_EQ("ABC", pc.Name()); |
| 142 EXPECT_EQ("", pc.Value()); | 144 EXPECT_EQ("", pc.Value()); |
| 143 EXPECT_TRUE(pc.HasPath()); | 145 EXPECT_TRUE(pc.HasPath()); |
| 144 EXPECT_EQ("/wee", pc.Path()); | 146 EXPECT_EQ("/wee", pc.Path()); |
| 145 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 147 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 146 EXPECT_EQ(1U, pc.NumberOfAttributes()); | 148 EXPECT_EQ(1U, pc.NumberOfAttributes()); |
| 147 } | 149 } |
| 148 | 150 |
| 149 TEST(ParsedCookieTest, Whitespace) { | 151 TEST(ParsedCookieTest, Whitespace) { |
| 150 ParsedCookie pc(" A = BC ;secure;;; samesite "); | 152 ParsedCookie pc(" A = BC ;secure;;; samesite = lax "); |
| 151 EXPECT_TRUE(pc.IsValid()); | 153 EXPECT_TRUE(pc.IsValid()); |
| 152 EXPECT_EQ("A", pc.Name()); | 154 EXPECT_EQ("A", pc.Name()); |
| 153 EXPECT_EQ("BC", pc.Value()); | 155 EXPECT_EQ("BC", pc.Value()); |
| 154 EXPECT_FALSE(pc.HasPath()); | 156 EXPECT_FALSE(pc.HasPath()); |
| 155 EXPECT_FALSE(pc.HasDomain()); | 157 EXPECT_FALSE(pc.HasDomain()); |
| 156 EXPECT_TRUE(pc.IsSecure()); | 158 EXPECT_TRUE(pc.IsSecure()); |
| 157 EXPECT_FALSE(pc.IsHttpOnly()); | 159 EXPECT_FALSE(pc.IsHttpOnly()); |
| 158 EXPECT_TRUE(pc.IsSameSite()); | 160 EXPECT_TRUE(pc.HasSameSite()); |
| 161 EXPECT_EQ(COOKIE_SAME_SITE_LAX, pc.SameSite()); |
| 159 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 162 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 160 // We parse anything between ; as attributes, so we end up with two | 163 // We parse anything between ; as attributes, so we end up with two |
| 161 // attributes with an empty string name and value. | 164 // attributes with an empty string name and value. |
| 162 EXPECT_EQ(4U, pc.NumberOfAttributes()); | 165 EXPECT_EQ(4U, pc.NumberOfAttributes()); |
| 163 } | 166 } |
| 164 TEST(ParsedCookieTest, MultipleEquals) { | 167 TEST(ParsedCookieTest, MultipleEquals) { |
| 165 ParsedCookie pc(" A=== BC ;secure;;; httponly"); | 168 ParsedCookie pc(" A=== BC ;secure;;; httponly"); |
| 166 EXPECT_TRUE(pc.IsValid()); | 169 EXPECT_TRUE(pc.IsValid()); |
| 167 EXPECT_EQ("A", pc.Name()); | 170 EXPECT_EQ("A", pc.Name()); |
| 168 EXPECT_EQ("== BC", pc.Value()); | 171 EXPECT_EQ("== BC", pc.Value()); |
| 169 EXPECT_FALSE(pc.HasPath()); | 172 EXPECT_FALSE(pc.HasPath()); |
| 170 EXPECT_FALSE(pc.HasDomain()); | 173 EXPECT_FALSE(pc.HasDomain()); |
| 171 EXPECT_TRUE(pc.IsSecure()); | 174 EXPECT_TRUE(pc.IsSecure()); |
| 172 EXPECT_TRUE(pc.IsHttpOnly()); | 175 EXPECT_TRUE(pc.IsHttpOnly()); |
| 173 EXPECT_FALSE(pc.IsSameSite()); | 176 EXPECT_FALSE(pc.HasSameSite()); |
| 174 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 177 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 175 EXPECT_EQ(4U, pc.NumberOfAttributes()); | 178 EXPECT_EQ(4U, pc.NumberOfAttributes()); |
| 176 } | 179 } |
| 177 | 180 |
| 178 TEST(ParsedCookieTest, QuotedTrailingWhitespace) { | 181 TEST(ParsedCookieTest, QuotedTrailingWhitespace) { |
| 179 ParsedCookie pc( | 182 ParsedCookie pc( |
| 180 "ANCUUID=\"zohNumRKgI0oxyhSsV3Z7D\" ; " | 183 "ANCUUID=\"zohNumRKgI0oxyhSsV3Z7D\" ; " |
| 181 "expires=Sun, 18-Apr-2027 21:06:29 GMT ; " | 184 "expires=Sun, 18-Apr-2027 21:06:29 GMT ; " |
| 182 "path=/ ; "); | 185 "path=/ ; "); |
| 183 EXPECT_TRUE(pc.IsValid()); | 186 EXPECT_TRUE(pc.IsValid()); |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 EXPECT_TRUE(pc.IsValid()); | 352 EXPECT_TRUE(pc.IsValid()); |
| 350 | 353 |
| 351 // Set all other attributes and check that they are appended in order. | 354 // Set all other attributes and check that they are appended in order. |
| 352 EXPECT_TRUE(pc.SetDomain("domain.com")); | 355 EXPECT_TRUE(pc.SetDomain("domain.com")); |
| 353 EXPECT_TRUE(pc.SetPath("/")); | 356 EXPECT_TRUE(pc.SetPath("/")); |
| 354 EXPECT_TRUE(pc.SetExpires("Sun, 18-Apr-2027 21:06:29 GMT")); | 357 EXPECT_TRUE(pc.SetExpires("Sun, 18-Apr-2027 21:06:29 GMT")); |
| 355 EXPECT_TRUE(pc.SetMaxAge("12345")); | 358 EXPECT_TRUE(pc.SetMaxAge("12345")); |
| 356 EXPECT_TRUE(pc.SetIsSecure(true)); | 359 EXPECT_TRUE(pc.SetIsSecure(true)); |
| 357 EXPECT_TRUE(pc.SetIsHttpOnly(true)); | 360 EXPECT_TRUE(pc.SetIsHttpOnly(true)); |
| 358 EXPECT_TRUE(pc.SetIsHttpOnly(true)); | 361 EXPECT_TRUE(pc.SetIsHttpOnly(true)); |
| 359 EXPECT_TRUE(pc.SetIsSameSite(true)); | 362 EXPECT_TRUE(pc.SetSameSite("LAX")); |
| 360 EXPECT_TRUE(pc.SetPriority("HIGH")); | 363 EXPECT_TRUE(pc.SetPriority("HIGH")); |
| 361 EXPECT_EQ( | 364 EXPECT_EQ( |
| 362 "name=value; domain=domain.com; path=/; " | 365 "name=value; domain=domain.com; path=/; " |
| 363 "expires=Sun, 18-Apr-2027 21:06:29 GMT; max-age=12345; secure; " | 366 "expires=Sun, 18-Apr-2027 21:06:29 GMT; max-age=12345; secure; " |
| 364 "httponly; samesite; priority=HIGH", | 367 "httponly; samesite=LAX; priority=HIGH", |
| 365 pc.ToCookieLine()); | 368 pc.ToCookieLine()); |
| 366 EXPECT_TRUE(pc.HasDomain()); | 369 EXPECT_TRUE(pc.HasDomain()); |
| 367 EXPECT_TRUE(pc.HasPath()); | 370 EXPECT_TRUE(pc.HasPath()); |
| 368 EXPECT_TRUE(pc.HasExpires()); | 371 EXPECT_TRUE(pc.HasExpires()); |
| 369 EXPECT_TRUE(pc.HasMaxAge()); | 372 EXPECT_TRUE(pc.HasMaxAge()); |
| 370 EXPECT_TRUE(pc.IsSecure()); | 373 EXPECT_TRUE(pc.IsSecure()); |
| 371 EXPECT_TRUE(pc.IsHttpOnly()); | 374 EXPECT_TRUE(pc.IsHttpOnly()); |
| 372 EXPECT_TRUE(pc.IsSameSite()); | 375 EXPECT_TRUE(pc.HasSameSite()); |
| 376 EXPECT_EQ(COOKIE_SAME_SITE_LAX, pc.SameSite()); |
| 373 EXPECT_EQ(COOKIE_PRIORITY_HIGH, pc.Priority()); | 377 EXPECT_EQ(COOKIE_PRIORITY_HIGH, pc.Priority()); |
| 374 | 378 |
| 375 // Clear one attribute from the middle. | 379 // Clear one attribute from the middle. |
| 376 EXPECT_TRUE(pc.SetPath("/foo")); | 380 EXPECT_TRUE(pc.SetPath("/foo")); |
| 377 EXPECT_TRUE(pc.HasDomain()); | 381 EXPECT_TRUE(pc.HasDomain()); |
| 378 EXPECT_TRUE(pc.HasPath()); | 382 EXPECT_TRUE(pc.HasPath()); |
| 379 EXPECT_TRUE(pc.HasExpires()); | 383 EXPECT_TRUE(pc.HasExpires()); |
| 380 EXPECT_TRUE(pc.IsSecure()); | 384 EXPECT_TRUE(pc.IsSecure()); |
| 381 EXPECT_TRUE(pc.IsHttpOnly()); | 385 EXPECT_TRUE(pc.IsHttpOnly()); |
| 382 EXPECT_EQ( | 386 EXPECT_EQ( |
| 383 "name=value; domain=domain.com; path=/foo; " | 387 "name=value; domain=domain.com; path=/foo; " |
| 384 "expires=Sun, 18-Apr-2027 21:06:29 GMT; max-age=12345; secure; " | 388 "expires=Sun, 18-Apr-2027 21:06:29 GMT; max-age=12345; secure; " |
| 385 "httponly; samesite; priority=HIGH", | 389 "httponly; samesite=LAX; priority=HIGH", |
| 386 pc.ToCookieLine()); | 390 pc.ToCookieLine()); |
| 387 | 391 |
| 388 // Set priority to medium. | 392 // Set priority to medium. |
| 389 EXPECT_TRUE(pc.SetPriority("medium")); | 393 EXPECT_TRUE(pc.SetPriority("medium")); |
| 390 EXPECT_EQ( | 394 EXPECT_EQ( |
| 391 "name=value; domain=domain.com; path=/foo; " | 395 "name=value; domain=domain.com; path=/foo; " |
| 392 "expires=Sun, 18-Apr-2027 21:06:29 GMT; max-age=12345; secure; " | 396 "expires=Sun, 18-Apr-2027 21:06:29 GMT; max-age=12345; secure; " |
| 393 "httponly; samesite; priority=medium", | 397 "httponly; samesite=LAX; priority=medium", |
| 394 pc.ToCookieLine()); | 398 pc.ToCookieLine()); |
| 395 | 399 |
| 396 // Clear the rest and change the name and value. | 400 // Clear the rest and change the name and value. |
| 397 EXPECT_TRUE(pc.SetDomain(std::string())); | 401 EXPECT_TRUE(pc.SetDomain(std::string())); |
| 398 EXPECT_TRUE(pc.SetPath(std::string())); | 402 EXPECT_TRUE(pc.SetPath(std::string())); |
| 399 EXPECT_TRUE(pc.SetExpires(std::string())); | 403 EXPECT_TRUE(pc.SetExpires(std::string())); |
| 400 EXPECT_TRUE(pc.SetMaxAge(std::string())); | 404 EXPECT_TRUE(pc.SetMaxAge(std::string())); |
| 401 EXPECT_TRUE(pc.SetIsSecure(false)); | 405 EXPECT_TRUE(pc.SetIsSecure(false)); |
| 402 EXPECT_TRUE(pc.SetIsHttpOnly(false)); | 406 EXPECT_TRUE(pc.SetIsHttpOnly(false)); |
| 403 EXPECT_TRUE(pc.SetIsSameSite(false)); | 407 EXPECT_TRUE(pc.SetSameSite(std::string())); |
| 404 EXPECT_TRUE(pc.SetName("name2")); | 408 EXPECT_TRUE(pc.SetName("name2")); |
| 405 EXPECT_TRUE(pc.SetValue("value2")); | 409 EXPECT_TRUE(pc.SetValue("value2")); |
| 406 EXPECT_TRUE(pc.SetPriority(std::string())); | 410 EXPECT_TRUE(pc.SetPriority(std::string())); |
| 407 EXPECT_FALSE(pc.HasDomain()); | 411 EXPECT_FALSE(pc.HasDomain()); |
| 408 EXPECT_FALSE(pc.HasPath()); | 412 EXPECT_FALSE(pc.HasPath()); |
| 409 EXPECT_FALSE(pc.HasExpires()); | 413 EXPECT_FALSE(pc.HasExpires()); |
| 410 EXPECT_FALSE(pc.HasMaxAge()); | 414 EXPECT_FALSE(pc.HasMaxAge()); |
| 415 EXPECT_FALSE(pc.HasSameSite()); |
| 411 EXPECT_FALSE(pc.IsSecure()); | 416 EXPECT_FALSE(pc.IsSecure()); |
| 412 EXPECT_FALSE(pc.IsHttpOnly()); | 417 EXPECT_FALSE(pc.IsHttpOnly()); |
| 413 EXPECT_FALSE(pc.IsSameSite()); | 418 EXPECT_EQ(COOKIE_SAME_SITE_NONE, pc.SameSite()); |
| 414 EXPECT_EQ("name2=value2", pc.ToCookieLine()); | 419 EXPECT_EQ("name2=value2", pc.ToCookieLine()); |
| 415 } | 420 } |
| 416 | 421 |
| 417 TEST(ParsedCookieTest, SetPriority) { | 422 TEST(ParsedCookieTest, SetPriority) { |
| 418 ParsedCookie pc("name=value"); | 423 ParsedCookie pc("name=value"); |
| 419 EXPECT_TRUE(pc.IsValid()); | 424 EXPECT_TRUE(pc.IsValid()); |
| 420 | 425 |
| 421 EXPECT_EQ("name=value", pc.ToCookieLine()); | 426 EXPECT_EQ("name=value", pc.ToCookieLine()); |
| 422 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 427 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 423 | 428 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 441 | 446 |
| 442 EXPECT_TRUE(pc.SetPriority("lowerest")); | 447 EXPECT_TRUE(pc.SetPriority("lowerest")); |
| 443 EXPECT_EQ("name=value; priority=lowerest", pc.ToCookieLine()); | 448 EXPECT_EQ("name=value; priority=lowerest", pc.ToCookieLine()); |
| 444 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 449 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 445 | 450 |
| 446 EXPECT_TRUE(pc.SetPriority("")); | 451 EXPECT_TRUE(pc.SetPriority("")); |
| 447 EXPECT_EQ("name=value", pc.ToCookieLine()); | 452 EXPECT_EQ("name=value", pc.ToCookieLine()); |
| 448 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); | 453 EXPECT_EQ(COOKIE_PRIORITY_DEFAULT, pc.Priority()); |
| 449 } | 454 } |
| 450 | 455 |
| 456 TEST(ParsedCookieTest, SetSameSite) { |
| 457 ParsedCookie pc("name=value"); |
| 458 EXPECT_TRUE(pc.IsValid()); |
| 459 |
| 460 EXPECT_EQ("name=value", pc.ToCookieLine()); |
| 461 EXPECT_EQ(COOKIE_SAME_SITE_DEFAULT, pc.SameSite()); |
| 462 |
| 463 // Test each priority, expect case-insensitive compare. |
| 464 EXPECT_TRUE(pc.SetSameSite("strict")); |
| 465 EXPECT_EQ("name=value; samesite=strict", pc.ToCookieLine()); |
| 466 EXPECT_EQ(COOKIE_SAME_SITE_STRICT, pc.SameSite()); |
| 467 |
| 468 EXPECT_TRUE(pc.SetSameSite("lAx")); |
| 469 EXPECT_EQ("name=value; samesite=lAx", pc.ToCookieLine()); |
| 470 EXPECT_EQ(COOKIE_SAME_SITE_LAX, pc.SameSite()); |
| 471 |
| 472 EXPECT_TRUE(pc.SetSameSite("LAX")); |
| 473 EXPECT_EQ("name=value; samesite=LAX", pc.ToCookieLine()); |
| 474 EXPECT_EQ(COOKIE_SAME_SITE_LAX, pc.SameSite()); |
| 475 |
| 476 // Interpret invalid priority values as COOKIE_SAME_SITE_DEFAULT. |
| 477 EXPECT_TRUE(pc.SetSameSite("Blah")); |
| 478 EXPECT_EQ("name=value; samesite=Blah", pc.ToCookieLine()); |
| 479 EXPECT_EQ(COOKIE_SAME_SITE_DEFAULT, pc.SameSite()); |
| 480 |
| 481 EXPECT_TRUE(pc.SetSameSite("lowerest")); |
| 482 EXPECT_EQ("name=value; samesite=lowerest", pc.ToCookieLine()); |
| 483 EXPECT_EQ(COOKIE_SAME_SITE_DEFAULT, pc.SameSite()); |
| 484 |
| 485 EXPECT_TRUE(pc.SetSameSite("")); |
| 486 EXPECT_EQ("name=value", pc.ToCookieLine()); |
| 487 EXPECT_EQ(COOKIE_SAME_SITE_DEFAULT, pc.SameSite()); |
| 488 } |
| 489 |
| 451 TEST(ParsedCookieTest, InvalidNonAlphanumericChars) { | 490 TEST(ParsedCookieTest, InvalidNonAlphanumericChars) { |
| 452 ParsedCookie pc1("name=\x05"); | 491 ParsedCookie pc1("name=\x05"); |
| 453 ParsedCookie pc2( | 492 ParsedCookie pc2( |
| 454 "name=foo" | 493 "name=foo" |
| 455 "\x1c" | 494 "\x1c" |
| 456 "bar"); | 495 "bar"); |
| 457 ParsedCookie pc3( | 496 ParsedCookie pc3( |
| 458 "name=foobar" | 497 "name=foobar" |
| 459 "\x11"); | 498 "\x11"); |
| 460 ParsedCookie pc4( | 499 ParsedCookie pc4( |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 EXPECT_TRUE(pc5.IsValid()); | 582 EXPECT_TRUE(pc5.IsValid()); |
| 544 EXPECT_EQ(pc5_literal, pc5.ToCookieLine()); | 583 EXPECT_EQ(pc5_literal, pc5.ToCookieLine()); |
| 545 EXPECT_TRUE(pc6.IsValid()); | 584 EXPECT_TRUE(pc6.IsValid()); |
| 546 EXPECT_EQ(pc6_literal, pc6.ToCookieLine()); | 585 EXPECT_EQ(pc6_literal, pc6.ToCookieLine()); |
| 547 EXPECT_TRUE(pc7.IsValid()); | 586 EXPECT_TRUE(pc7.IsValid()); |
| 548 EXPECT_EQ(pc7_literal, pc7.ToCookieLine()); | 587 EXPECT_EQ(pc7_literal, pc7.ToCookieLine()); |
| 549 EXPECT_TRUE(pc8.IsValid()); | 588 EXPECT_TRUE(pc8.IsValid()); |
| 550 EXPECT_EQ(pc8_literal, pc8.ToCookieLine()); | 589 EXPECT_EQ(pc8_literal, pc8.ToCookieLine()); |
| 551 } | 590 } |
| 552 } | 591 } |
| OLD | NEW |