<?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>199598</bug_id>
          
          <creation_ts>2019-07-08 16:02:30 -0700</creation_ts>
          <short_desc>UserData::decode should return false when decoding an unrecognized type</short_desc>
          <delta_ts>2019-07-09 11:28:23 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Alex Christensen">achristensen</reporter>
          <assigned_to name="Alex Christensen">achristensen</assigned_to>
          <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1551012</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-07-08 16:02:30 -0700</bug_when>
    <thetext>UserData::decode should return false when decoding an unrecognized type</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551013</commentid>
    <comment_count>1</comment_count>
      <attachid>373677</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-07-08 16:02:53 -0700</bug_when>
    <thetext>Created attachment 373677
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551122</commentid>
    <comment_count>2</comment_count>
      <attachid>373677</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-07-08 19:50:28 -0700</bug_when>
    <thetext>Comment on attachment 373677
Patch

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

&gt; Source/WebKit/Shared/UserData.cpp:601
&gt;          ASSERT_NOT_REACHED();
&gt; +        return false;

I&apos;m a bit surprised that we&apos;re not already getting a compiler warning / error about this...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551310</commentid>
    <comment_count>3</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2019-07-09 11:27:35 -0700</bug_when>
    <thetext>http://trac.webkit.org/r247263</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1551311</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-07-09 11:28:23 -0700</bug_when>
    <thetext>&lt;rdar://problem/52843696&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>373677</attachid>
            <date>2019-07-08 16:02:53 -0700</date>
            <delta_ts>2019-07-08 19:50:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-199598-20190708160252.patch</filename>
            <type>text/plain</type>
            <size>1026</size>
            <attacher name="Alex Christensen">achristensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJL
aXQvQ2hhbmdlTG9nCShyZXZpc2lvbiAyNDcyMzEpCisrKyBTb3VyY2UvV2ViS2l0L0NoYW5nZUxv
Zwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE5LTA3LTA4ICBBbGV4IENocmlz
dGVuc2VuICA8YWNocmlzdGVuc2VuQHdlYmtpdC5vcmc+CisKKyAgICAgICAgVXNlckRhdGE6OmRl
Y29kZSBzaG91bGQgcmV0dXJuIGZhbHNlIHdoZW4gZGVjb2RpbmcgYW4gdW5yZWNvZ25pemVkIHR5
cGUKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE5OTU5
OAorICAgICAgICA8cmRhcjovLzUyNzM1MTM4PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9E
WSAoT09QUyEpLgorCisgICAgICAgICogU2hhcmVkL1VzZXJEYXRhLmNwcDoKKyAgICAgICAgKFdl
YktpdDo6VXNlckRhdGE6OmRlY29kZSk6CisKIDIwMTktMDctMDggIENocmlzIER1bWV6ICA8Y2R1
bWV6QGFwcGxlLmNvbT4KIAogICAgICAgICBDbGVhbnVwIHVzZXMgb2YgTmV0d29ya1Byb2Nlc3M6
Om1fc2Vzc2lvbkJ5Q29ubmVjdGlvbgpJbmRleDogU291cmNlL1dlYktpdC9TaGFyZWQvVXNlckRh
dGEuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT0KLS0tIFNvdXJjZS9XZWJLaXQvU2hhcmVkL1VzZXJEYXRhLmNwcAko
cmV2aXNpb24gMjQ3MDkyKQorKysgU291cmNlL1dlYktpdC9TaGFyZWQvVXNlckRhdGEuY3BwCSh3
b3JraW5nIGNvcHkpCkBAIC01OTgsNiArNTk4LDcgQEAgYm9vbCBVc2VyRGF0YTo6ZGVjb2RlKElQ
Qzo6RGVjb2RlciYgZGVjbwogCiAgICAgZGVmYXVsdDoKICAgICAgICAgQVNTRVJUX05PVF9SRUFD
SEVEKCk7CisgICAgICAgIHJldHVybiBmYWxzZTsKICAgICB9CiAKICAgICByZXR1cm4gdHJ1ZTsK
</data>
<flag name="review"
          id="389475"
          type_id="1"
          status="+"
          setter="rniwa"
    />
          </attachment>
      

    </bug>

</bugzilla>