<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>274297</bug_id>
          
          <creation_ts>2024-05-16 21:33:28 -0700</creation_ts>
          <short_desc>Stop using `const char*` in string concatenations</short_desc>
          <delta_ts>2024-07-09 02:09:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>dpino</cc>
    
    <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2035950</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-05-16 21:33:28 -0700</bug_when>
    <thetext>Stop using `const char*` in string concatenations, to encourage the use of ASCIILiteral and std::span.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036003</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2024-05-17 07:49:59 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/28707</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036315</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-19 17:11:03 -0700</bug_when>
    <thetext>Committed 278972@main (1cf337e0a50a): &lt;https://commits.webkit.org/278972@main&gt;

Reviewed commits have been landed. Closing PR #28707 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036316</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-05-19 17:12:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/128366439&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036614</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-05-20 23:10:58 -0700</bug_when>
    <thetext>GTK-Linux-64bit-Release-Packaging-Nightly-Ubuntu2004 fails with the following error:

https://build.webkit.org/#/builders/30/builds/8960

(this bot builds with libwebrtc)

```
../../../Source/WebCore/platform/mediastream/libwebrtc/gstreamer/GStreamerVideoEncoderFactory.cpp:121:91:   required from here
WTF/Headers/wtf/text/StringConcatenate.h:534:38: error: invalid use of incomplete type ‘class WTF::StringTypeAdapter&lt;const char*, void&gt;’
  534 |     return tryMakeStringFromAdapters(StringTypeAdapter&lt;StringTypes&gt;(strings)...);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from WTF/Headers/wtf/text/IntegerToStringConversion.h:27,
                 from WTF/Headers/wtf/text/WTFString.h:27,
                 from ../../../Source/WebCore/dom/Exception.h:30,
                 from ../../../Source/WebCore/dom/ExceptionOr.h:29,
                 from ../../../Source/WebCore/platform/mediastream/RTCDTMFSenderBackend.h:29,
                 from ../../../Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.h:30,
                 from ../../../Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCDTMFSenderBackend.cpp:27,
                 from WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-74.cpp:1:
WTF/Headers/wtf/Forward.h:106:43: note: declaration of ‘class WTF::StringTypeAdapter&lt;const char*, void&gt;’
  106 | template&lt;typename, typename = void&gt; class StringTypeAdapter;
      |                                           ^~~~~~~~~~~~~~~~~
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036615</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2024-05-20 23:12:23 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/webkit/webkit/pull/28830</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2036617</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-05-20 23:35:48 -0700</bug_when>
    <thetext>Committed 279038@main (d1b1d17c730c): &lt;https://commits.webkit.org/279038@main&gt;

Reviewed commits have been landed. Closing PR #28830 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>