f512d3569c
https://bugs.webkit.org/show_bug.cgi?id=228766 Reviewed by Simon Fraser. Source/WTF: Instead of using -[NSArray description], which puts its output on multiple lines, instead use the same formatting as WTF::Vector, which puts its output on a single line. We can also use this opportunity to tweak the implementation of operator<<(id) to allow it to be called with Core Foundation types in raw C++ code. * wtf/text/TextStream.h: * wtf/text/cocoa/TextStreamCocoa.mm: (WTF::TextStream::operator<<): Tools: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WTF/cocoa/TextStreamCocoa.cpp: Added. (TEST): * TestWebKitAPI/Tests/WTF/cocoa/TextStreamCocoa.mm: Added. (TEST): Canonical link: https://commits.webkit.org/240262@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280651 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
StringCocoa.mm | ||
StringImplCocoa.mm | ||
StringViewCocoa.mm | ||
TextBreakIteratorInternalICUCocoa.cpp | ||
TextStreamCocoa.mm |