<?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>191105</bug_id>
          
          <creation_ts>2018-10-31 03:09:06 -0700</creation_ts>
          <short_desc>[Win][WKL] DOMHTMLDocument::setNodeValue does infinite recursion</short_desc>
          <delta_ts>2018-10-31 18:22:49 -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>WebKit API</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="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>pvollan</cc>
    
    <cc>ross.kirsling</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1473649</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-31 03:09:06 -0700</bug_when>
    <thetext>[Win][WKL] DOMHTMLDocument::setNodeValue does infinite recursion

clang-cl detects an infinite recursion of DOMHTMLDocument::setNodeValue.

&gt; In file included from ..\..\Source\WebKitLegacy\win\DOMHTMLClasses.cpp:27:
&gt; ..\..\Source\WebKitLegacy\win/DOMHTMLClasses.h(229,5):  warning: all paths through this function will call itself [-Winfinite-recursion]
&gt;     {
&gt;     ^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473650</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-31 03:09:34 -0700</bug_when>
    <thetext>This code has introduced in 
https://github.com/WebKit/webkit/commit/fee2e824695f7bfa0f9062b36322874cfbd3733c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473667</commentid>
    <comment_count>2</comment_count>
      <attachid>353482</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-31 03:50:50 -0700</bug_when>
    <thetext>Created attachment 353482
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473795</commentid>
    <comment_count>3</comment_count>
      <attachid>353482</attachid>
    <who name="Ross Kirsling">ross.kirsling</who>
    <bug_when>2018-10-31 11:32:45 -0700</bug_when>
    <thetext>Comment on attachment 353482
Patch

Informal r+.

That&apos;s a strange mistake, but I&apos;m glad clang is finding things that MSVC didn&apos;t!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473807</commentid>
    <comment_count>4</comment_count>
      <attachid>353482</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2018-10-31 11:59:16 -0700</bug_when>
    <thetext>Comment on attachment 353482
Patch

Wow! How did that ever work?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473978</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-31 18:03:52 -0700</bug_when>
    <thetext>Thank you for the review.

(In reply to Brent Fulgham from comment #4)
&gt; Wow! How did that ever work?

I guess this is a unused API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473986</commentid>
    <comment_count>6</comment_count>
      <attachid>353482</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-31 18:21:00 -0700</bug_when>
    <thetext>Comment on attachment 353482
Patch

Clearing flags on attachment: 353482

Committed r237666: &lt;https://trac.webkit.org/changeset/237666&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473987</commentid>
    <comment_count>7</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-10-31 18:21:03 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1473988</commentid>
    <comment_count>8</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-10-31 18:22:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/45718605&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>353482</attachid>
            <date>2018-10-31 03:50:50 -0700</date>
            <delta_ts>2018-10-31 18:21:00 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-191105-20181031195048.patch</filename>
            <type>text/plain</type>
            <size>1376</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjM3NjIzCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0TGVn
YWN5L3dpbi9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0TGVnYWN5L3dpbi9DaGFuZ2VMb2cKaW5k
ZXggNmQzNjk1MDM0ZWViNTAwYWEyZTE5NmUyZmJiOTMxZTI4MzZlYjk1Yy4uMjljNWNhYzJlOWYz
ZTM1MmQxOWNkODQ0MGEyNzk5NGJhYjBkMDgwNyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdExl
Z2FjeS93aW4vQ2hhbmdlTG9nCisrKyBiL1NvdXJjZS9XZWJLaXRMZWdhY3kvd2luL0NoYW5nZUxv
ZwpAQCAtMSwzICsxLDE0IEBACisyMDE4LTEwLTMxICBGdWppaSBIaXJvbm9yaSAgPEhpcm9ub3Jp
LkZ1amlpQHNvbnkuY29tPgorCisgICAgICAgIFtXaW5dW1dLTF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