<?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>175589</bug_id>
          
          <creation_ts>2017-08-15 11:25:11 -0700</creation_ts>
          <short_desc>LayoutTests: string formatting fails</short_desc>
          <delta_ts>2017-08-15 16:08:02 -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>DUPLICATE</resolution>
          <dup_id>175590</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=175590</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>175579</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="JF Bastien">jfbastien</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>dbates</cc>
    
    <cc>fpizlo</cc>
    
    <cc>jfbastien</cc>
    
    <cc>keith_miller</cc>
    
    <cc>lforschler</cc>
    
    <cc>mark.lam</cc>
    
    <cc>msaboff</cc>
    
    <cc>saam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1338757</commentid>
    <comment_count>0</comment_count>
    <who name="JF Bastien">jfbastien</who>
    <bug_when>2017-08-15 11:25:11 -0700</bug_when>
    <thetext>In #175579 having this line hangs LayoutTests/tests/xmlhttprequest/gzip-content-type.html:
        log(`Content-Length: ${xhr.getResponseHeader(&apos;Content-Length&apos;)}`);
But having this works as expected:
        log(`Content Length: ${xhr.getResponseHeader(&apos;Content-Length&apos;)}`);

Note, the only change is dash versus space in the string.

This isn&apos;t related to string templates because this also fails:
        log(&apos;Content-Length: &apos; + xhr.getResponseHeader(&apos;Content-Length&apos;));</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338834</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-08-15 13:27:33 -0700</bug_when>
    <thetext>Is this the same as bug 175590?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338839</commentid>
    <comment_count>2</comment_count>
    <who name="JF Bastien">jfbastien</who>
    <bug_when>2017-08-15 13:31:03 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #1)
&gt; Is this the same as bug 175590?

No, it&apos;s one of a few failures encountered in the wake of #175579.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338881</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2017-08-15 14:30:50 -0700</bug_when>
    <thetext>Bug 175590 is about run-webkit-tests failing when test output contains a line starting with &quot;Content-Length&quot;. This bug sounds like exactly the same thing - just a slightly different symptom when the value of the fake header us different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338898</commentid>
    <comment_count>4</comment_count>
    <who name="JF Bastien">jfbastien</who>
    <bug_when>2017-08-15 15:27:35 -0700</bug_when>
    <thetext>(In reply to Alexey Proskuryakov from comment #3)
&gt; Bug 175590 is about run-webkit-tests failing when test output contains a
&gt; line starting with &quot;Content-Length&quot;. This bug sounds like exactly the same
&gt; thing - just a slightly different symptom when the value of the fake header
&gt; us different.

Ah you may be right. When Dan and I debugged it we thought they were different issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1338932</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2017-08-15 16:08:02 -0700</bug_when>
    <thetext>I know that this bug was filed one bug before bug #175590. I&apos;m going to forward dup this to bug #175590 as bug #175590 provides detailed reproduction steps and has a reduced test case.

*** This bug has been marked as a duplicate of bug 175590 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>