<?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>179567</bug_id>
          
          <creation_ts>2017-11-10 17:09:34 -0800</creation_ts>
          <short_desc>REGRESSION(r223856): Web Inspector: Cannot view Request Data</short_desc>
          <delta_ts>2017-11-13 11:58:14 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Web Inspector</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Joseph Pecoraro">joepeck</assigned_to>
          <cc>bburg</cc>
    
    <cc>commit-queue</cc>
    
    <cc>hi</cc>
    
    <cc>inspector-bugzilla-changes</cc>
    
    <cc>joepeck</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1370607</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-11-10 17:09:34 -0800</bug_when>
    <thetext>REGRESSION(r223856): Cannot view Request Data

Oops, a condition flipped in r223856.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370608</commentid>
    <comment_count>1</comment_count>
      <attachid>326664</attachid>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-11-10 17:10:19 -0800</bug_when>
    <thetext>Created attachment 326664
[PATCH] Proposed Fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370674</commentid>
    <comment_count>2</comment_count>
      <attachid>326664</attachid>
    <who name="Devin Rousso">hi</who>
    <bug_when>2017-11-11 01:08:11 -0800</bug_when>
    <thetext>Comment on attachment 326664
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=326664&amp;action=review

&gt; Source/WebInspectorUI/UserInterface/Views/ResourceClusterContentView.js:216
&gt; +        if (this._resource.hasRequestFormParameters())

I realize that this existed before the new Network tab, but I think now would be a good time to add a comment.  To me, this seems backwards, as we would want to show request data if we have form parameters.  My guess is that that is either a security concern or we have a different UI for this?  Either way, I don&apos;t know why this is the case right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370677</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2017-11-11 01:15:30 -0800</bug_when>
    <thetext>(In reply to Devin Rousso from comment #2)
&gt; Comment on attachment 326664 [details]
&gt; [PATCH] Proposed Fix
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=326664&amp;action=review
&gt; 
&gt; &gt; Source/WebInspectorUI/UserInterface/Views/ResourceClusterContentView.js:216
&gt; &gt; +        if (this._resource.hasRequestFormParameters())
&gt; 
&gt; I realize that this existed before the new Network tab, but I think now
&gt; would be a good time to add a comment.  To me, this seems backwards, as we
&gt; would want to show request data if we have form parameters.  My guess is
&gt; that that is either a security concern or we have a different UI for this? 
&gt; Either way, I don&apos;t know why this is the case right now.

If the data is Form Parameters (x-www-form-urlencoded) then the data is key/value pairs like query string data. We show that in the &quot;Headers&quot; view like query string parameters. I suppose we could have a view here that shows them like query string parameters, but right now we only prefer showing a ContentView for requestData that is data.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370978</commentid>
    <comment_count>4</comment_count>
      <attachid>326664</attachid>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2017-11-13 11:42:20 -0800</bug_when>
    <thetext>Comment on attachment 326664
[PATCH] Proposed Fix

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370981</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-11-13 11:43:01 -0800</bug_when>
    <thetext>&lt;rdar://problem/35510405&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370989</commentid>
    <comment_count>6</comment_count>
      <attachid>326664</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-11-13 11:58:12 -0800</bug_when>
    <thetext>Comment on attachment 326664
[PATCH] Proposed Fix

Clearing flags on attachment: 326664

Committed r224767: &lt;https://trac.webkit.org/changeset/224767&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1370990</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-11-13 11:58:14 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>326664</attachid>
            <date>2017-11-10 17:10:19 -0800</date>
            <delta_ts>2017-11-13 11:58:12 -0800</delta_ts>
            <desc>[PATCH] Proposed Fix</desc>
            <filename>flip-1.patch</filename>
            <type>text/plain</type>
            <size>1506</size>
            <attacher name="Joseph Pecoraro">joepeck</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2Vi
SW5zcGVjdG9yVUkvQ2hhbmdlTG9nCmluZGV4IDE4YWZmNzMyZTJkLi4xYjFiZTlmZThiOSAxMDA2
NDQKLS0tIGEvU291cmNlL1dlYkluc3BlY3RvclVJL0NoYW5nZUxvZworKysgYi9Tb3VyY2UvV2Vi
SW5zcGVjdG9yVU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