<?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>181815</bug_id>
          
          <creation_ts>2018-01-18 15:03:00 -0800</creation_ts>
          <short_desc>[webkitpy] Allow http tests to use different port number.</short_desc>
          <delta_ts>2018-07-25 21:47:17 -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>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>179216</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Basuke Suzuki">basuke</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>basuke</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1390674</commentid>
    <comment_count>0</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2018-01-18 15:03:00 -0800</bug_when>
    <thetext>Currently ports for http tests are fixed as 8000 for HTTP and 8443 for HTTPS. This fix will allow people who has a restriction for port numbers to run layout tests locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1390798</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2018-01-18 20:30:23 -0800</bug_when>
    <thetext>Tests themselves have dependencies on port numbers, so I don’t think that this is feasible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391060</commentid>
    <comment_count>2</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2018-01-19 11:28:49 -0800</bug_when>
    <thetext>Yeah, I saw many tests hard coded. A quick check says 5k out of 8k http tests uses hard coded port number in it.

Still changing port number is useful for some scenario:
i.e: On development, preparing a small set of test cases at the office which has the port restrictions.

Or how about adding modifiers on TestExpectations which runs only port number is specified?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>