[webkit-changes] [WebKit/WebKit] 060bb7: Allow empty usernames for login status

Commit Queue noreply at github.com
Fri Aug 23 11:40:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 060bb797611eec994f1cb330d09ea379e6a7dde0
      https://github.com/WebKit/WebKit/commit/060bb797611eec994f1cb330d09ea379e6a7dde0
  Author: Pouneh Bahrami <pnikkhah at ucdavis.edu>
  Date:   2024-08-23 (Fri, 23 Aug 2024)

  Changed paths:
    M Source/WebCore/page/LoginStatus.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/LoginStatus.cpp

  Log Message:
  -----------
  Allow empty usernames for login status
https://bugs.webkit.org/show_bug.cgi?id=278546
rdar://134532661

Reviewed by Charlie Wolfe.

Providing usernames is optional in login status. So we should allow empty strings.

* Source/WebCore/page/LoginStatus.cpp:
(WebCore::LoginStatus::create):
(WebCore::LoginStatus::hasExpired const):
* Tools/TestWebKitAPI/Tests/WebCore/LoginStatus.cpp:
(TestWebKitAPI::TEST(LoginStatus, EmptyUsername)):

Canonical link: https://commits.webkit.org/282667@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list