Title: [292702] trunk/Tools
- Revision
- 292702
- Author
- cdu...@apple.com
- Date
- 2022-04-10 23:13:04 -0700 (Sun, 10 Apr 2022)
Log Message
Unreviewed, fix use of ASCIILiteral for a literal containing non-ASCII characters after r292251.
* TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp:
(TestWebKitAPI::TEST_F):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (292701 => 292702)
--- trunk/Tools/ChangeLog 2022-04-11 05:29:23 UTC (rev 292701)
+++ trunk/Tools/ChangeLog 2022-04-11 06:13:04 UTC (rev 292702)
@@ -1,5 +1,12 @@
2022-04-10 Chris Dumez <cdu...@apple.com>
+ Unreviewed, fix use of ASCIILiteral for a literal containing non-ASCII characters after r292251.
+
+ * TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp:
+ (TestWebKitAPI::TEST_F):
+
+2022-04-10 Chris Dumez <cdu...@apple.com>
+
Finish porting code base to String::fromLatin1() and make String(const char*) private
https://bugs.webkit.org/show_bug.cgi?id=238977
Modified: trunk/Tools/TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp (292701 => 292702)
--- trunk/Tools/TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp 2022-04-11 05:29:23 UTC (rev 292701)
+++ trunk/Tools/TestWebKitAPI/Tests/WebCore/PublicSuffix.cpp 2022-04-11 06:13:04 UTC (rev 292702)
@@ -60,7 +60,7 @@
EXPECT_FALSE(isPublicSuffix(utf16String(bidirectionalDomain)));
EXPECT_TRUE(isPublicSuffix(utf16String(u"\u6803\u6728.jp")));
EXPECT_FALSE(isPublicSuffix(""_s));
- EXPECT_FALSE(isPublicSuffix("åäö"_s));
+ EXPECT_FALSE(isPublicSuffix(String::fromUTF8("åäö")));
// UK
EXPECT_TRUE(isPublicSuffix("uk"_s));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes