Bug 241380

Summary: REGRESSION (250986@main): [iOS/macOS] ASSERTION FAILED: isASCII(characters[I]) in WTF::ASCIILiteral WTF::StringLiterals::operator""_s(const char *, size_t)
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Ryan Haddad <ryanhaddad>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=240754

Description Ryan Haddad 2022-06-07 11:54:10 PDT
After https://commits.webkit.org/250986@main landed, the following API test is asserting on iOS / macOS debug bots:

    TestWebKitAPI.HTTPParsers.ParseCrossOriginResourcePolicyHeader
        ASSERTION FAILED: isASCII(characters[i])
        /Volumes/Data/worker/Apple-iOS-15-Simulator-Debug-Build/build/WebKitBuild/Debug-iphonesimulator/usr/local/include/wtf/text/ASCIILiteral.h(89) : WTF::ASCIILiteral WTF::StringLiterals::operator""_s(const char *, size_t)

https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.HTTPParsers.ParseCrossOriginResourcePolicyHeader&test=TestWebKitAPI.IPCTestingAPI.CanSendSharedMemory
Comment 1 Radar WebKit Bug Importer 2022-06-07 11:54:18 PDT
<rdar://problem/94552881>
Comment 2 Ryan Haddad 2022-06-07 16:34:24 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1361
Comment 3 EWS 2022-06-07 21:45:48 PDT
Committed r295375 (251383@main): <https://commits.webkit.org/251383@main>

Reviewed commits have been landed. Closing PR #1361 and removing active labels.