<?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>270507</bug_id>
          
          <creation_ts>2024-03-04 22:47:06 -0800</creation_ts>
          <short_desc>Guide outside contributors to use run-minibrowser rather than run-safari</short_desc>
          <delta_ts>2024-03-11 23:48:13 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=236968</see_also>
          <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="sideshowbarker">mike</reporter>
          <assigned_to name="sideshowbarker">mike</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2018694</commentid>
    <comment_count>0</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2024-03-04 22:47:06 -0800</bug_when>
    <thetext>Outside (non-Apple) contributors who aren’t building with the Apple Internal SDK — even those building on macOS — should be guided to use the run-minibrowser script rather than the run-safari script.

But unless the contributor is building the GTK or WPE port, the current build-webkit script is hardcoded to emit a “congrats” message saying this:

&gt; To run Safari with this newly-built code, use the &quot;Tools/Scripts/run-safari&quot; script.

And the https://github.com/webkit/WebKit/?tab=readme-ov-file#running-webkit Readme.md file says:

&gt; Run the following command to launch Safari with your local build of WebKit:
&gt; Tools/Scripts/run-safari --debug

So the build-webkit script and the Readme.md file should be updated to instead guide all outside/non-Apple contributors — even those building on macOS — to use the run-minibrowser script.

Otherwise, it seems to be a common problem that outside contributors try the run-safari script, find that it doesn’t work expected, and then become confused and unsure how to proceed.

In the best case, their next step is that they show up in the Slack #help room asking what they’ve done wrong — in which case, someone else in the room quickly points out to them that they need to use the run-minibrowser script instead.

But the less-fortunate contributors can end up wasting time their time trying on their own to figure out what they’ve done wrong, and failing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018703</commentid>
    <comment_count>1</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2024-03-04 23:56:38 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/25476</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2020379</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-03-11 23:48:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/124433085&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>