Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30479f7ed01fb1ccd25e84585bafb3aef5c8997e
      
https://github.com/WebKit/WebKit/commit/30479f7ed01fb1ccd25e84585bafb3aef5c8997e
  Author: Chris Dumez <[email protected]>
  Date:   2026-03-20 (Fri, 20 Mar 2026)

  Changed paths:
    M Source/WTF/wtf/text/ASCIILiteral.h
    M Source/WTF/wtf/text/AtomString.h
    M Tools/TestWebKitAPI/Tests/WTF/AtomString.cpp

  Log Message:
  -----------
  Constructing a String from a null ASCIILiteral should result in a null String
https://bugs.webkit.org/show_bug.cgi?id=310351

Reviewed by Darin Adler.

Constructing a String from a null ASCIILiteral should result in a null String,
not an empty String.

Test: Tools/TestWebKitAPI/Tests/WTF/AtomString.cpp

* Source/WTF/wtf/text/ASCIILiteral.h:
* Source/WTF/wtf/text/AtomString.h:
(WTF::AtomString::AtomString):
* Tools/TestWebKitAPI/Tests/WTF/AtomString.cpp:
(TestWebKitAPI::TEST(WTF, AtomStringCreationFromNullASCIILiteral)):

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



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

Reply via email to