<?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>153003</bug_id>
          
          <creation_ts>2016-01-11 21:25:57 -0800</creation_ts>
          <short_desc>Web Inspector: creating a gradient in the Visual sidebar causes a crash</short_desc>
          <delta_ts>2016-01-14 11:31:08 -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="Devin Rousso">hi</reporter>
          <assigned_to name="Devin Rousso">hi</assigned_to>
          <cc>bburg</cc>
    
    <cc>commit-queue</cc>
    
    <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>mattbaker</cc>
    
    <cc>nvasilyev</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1154619</commentid>
    <comment_count>0</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2016-01-11 21:25:57 -0800</bug_when>
    <thetext>* STEPS TO REPRODUCE
1. Go to &lt;www.apple.com&gt;
2. Inspect the &lt;body&gt;
3. In the Visual sidebar, go to Background &gt; Style
4. Click the + button on the list editor and select &quot;Linear Gradient&quot; in the dropdown next to &quot;Type&quot;
5. Click the swatch element immediately to the right of the &quot;Type&quot; label (the gradient editor should open)
6. Click slightly underneath the gradient preview area to add a color stop

* Expected
Color stop is added to (previously empty) gradient

* Actual
Crashes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154621</commentid>
    <comment_count>1</comment_count>
      <attachid>268744</attachid>
    <who name="Devin Rousso">hi</who>
    <bug_when>2016-01-11 21:28:40 -0800</bug_when>
    <thetext>Created attachment 268744
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154630</commentid>
    <comment_count>2</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-01-11 22:56:03 -0800</bug_when>
    <thetext>By crash, do you mean that WebCore crashed? We should also investigate fixing that, as invalid CSS from the inspector should never cause a segfault.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154631</commentid>
    <comment_count>3</comment_count>
      <attachid>268744</attachid>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-01-11 22:56:50 -0800</bug_when>
    <thetext>Comment on attachment 268744
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154642</commentid>
    <comment_count>4</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2016-01-12 00:38:14 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; By crash, do you mean that WebCore crashed? We should also investigate
&gt; fixing that, as invalid CSS from the inspector should never cause a segfault.

Oh no just Web Inspector crashes.  I get that &quot;Uncaught Exception&quot; page.  I figured that that was considered a &quot;crash&quot; for the Web Inspector.  Is there a better term for it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154745</commentid>
    <comment_count>5</comment_count>
    <who name="Blaze Burg">bburg</who>
    <bug_when>2016-01-12 10:12:48 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; &gt; By crash, do you mean that WebCore crashed? We should also investigate
&gt; &gt; fixing that, as invalid CSS from the inspector should never cause a segfault.
&gt; 
&gt; Oh no just Web Inspector crashes.  I get that &quot;Uncaught Exception&quot; page.  I
&gt; figured that that was considered a &quot;crash&quot; for the Web Inspector.  Is there
&gt; a better term for it?

That&apos;s an uncaught exception, and is less severe. The dialog only appears in engineering builds and can be dismissed.

A crash occurs when the Web Inspector or Safari window disappears completely and a crash report is collected. If that happens, you can see the stack trace dumped to stdout or added to the list in Console.app.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154753</commentid>
    <comment_count>6</comment_count>
    <who name="Devin Rousso">hi</who>
    <bug_when>2016-01-12 10:30:10 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; By crash, do you mean that WebCore crashed? We should also investigate
&gt; &gt; &gt; fixing that, as invalid CSS from the inspector should never cause a segfault.
&gt; &gt; 
&gt; &gt; Oh no just Web Inspector crashes.  I get that &quot;Uncaught Exception&quot; page.  I
&gt; &gt; figured that that was considered a &quot;crash&quot; for the Web Inspector.  Is there
&gt; &gt; a better term for it?
&gt; 
&gt; That&apos;s an uncaught exception, and is less severe. The dialog only appears in
&gt; engineering builds and can be dismissed.
&gt; 
&gt; A crash occurs when the Web Inspector or Safari window disappears completely
&gt; and a crash report is collected. If that happens, you can see the stack
&gt; trace dumped to stdout or added to the list in Console.app.

Ah OK that makes more sense.  I&apos;ll refer to it as such in the future.  Sorry for the confusion!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154759</commentid>
    <comment_count>7</comment_count>
      <attachid>268744</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-01-12 10:44:37 -0800</bug_when>
    <thetext>Comment on attachment 268744
Patch

Clearing flags on attachment: 268744

Committed r194901: &lt;http://trac.webkit.org/changeset/194901&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1154760</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-01-12 10:44:41 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1155499</commentid>
    <comment_count>9</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-01-14 11:31:08 -0800</bug_when>
    <thetext>&lt;rdar://problem/24191708&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>268744</attachid>
            <date>2016-01-11 21:28:40 -0800</date>
            <delta_ts>2016-01-12 10:44:37 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-153003-20160111212809.patch</filename>
            <type>text/plain</type>
            <size>1932</size>
            <attacher name="Devin Rousso">hi</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2Vi
SW5zcGVjdG9yVUkvQ2hhbmdlTG9nCmluZGV4IDQ1NjU1YTI0YTA1ZWI0ZTZlYWM5N2E0MGU3NTNi
ZjFjMWI5ZTcwNzcuLjFlYWNmM2Y0YjE4YjVkMzYxMGVjYmFhMjkzMjVjMGExZDM2NGM4ZWIgMTAw
NjQ0Ci0tLSBhL1NvdXJjZS9XZWJJbnNwZWN0b3JVSS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dl
Ykluc3BlY3RvclVJL0NoYW5nZUxvZwpAQCAtMSw1ICsxLDE4IEBACiAyMDE2LTAxLTExICBEZXZp
biBSb3Vzc28gIDxkY3JvdXNzbyt3ZWJraXRAZ21haWwuY29tPgogCisgICAgICAgIFdlYiBJbnNw
ZWN0b3I6IGNyZWF0aW5nIGEgZ3JhZGllbnQgaW4gdGhlIFZpc3VhbCBzaWRlYmFyIGNhdXNlcyBh
IGNyYXNoCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0x
NTMwMDMKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9P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