<?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>36800</bug_id>
          
          <creation_ts>2010-03-29 19:25:24 -0700</creation_ts>
          <short_desc>Ownerless nodes leads a crash on DOMSelection APIs</short_desc>
          <delta_ts>2010-04-01 22:33:17 -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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hajime Morrita">morrita</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>205804</commentid>
    <comment_count>0</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2010-03-29 19:25:24 -0700</bug_when>
    <thetext>Passing ownerless node to DOMSelection APIs including collapse(), extend(), selectAllChildren(), setPosition() causes a crash.
One type of ownerless node is newly-created DocumentType object.
This is similar to Bug 31680 and the fix on Bug 31680 will fix these. But we need regressions for that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205915</commentid>
    <comment_count>1</comment_count>
      <attachid>52015</attachid>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2010-03-30 02:40:28 -0700</bug_when>
    <thetext>Created attachment 52015
to reproduce</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>207677</commentid>
    <comment_count>2</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2010-04-01 22:33:17 -0700</bug_when>
    <thetext>Fixed at http://trac.webkit.org/changeset/56962</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>52015</attachid>
            <date>2010-03-30 02:40:28 -0700</date>
            <delta_ts>2010-03-30 02:40:28 -0700</delta_ts>
            <desc>to reproduce</desc>
            <filename>31680-2.html</filename>
            <type>text/html</type>
            <size>326</size>
            <attacher name="Hajime Morrita">morrita</attacher>
            
              <data encoding="base64">PFNDUklQVD4KICBkb2NUeXBlID0gZG9jdW1lbnQuaW1wbGVtZW50YXRpb24uY3JlYXRlRG9jdW1l
bnRUeXBlKCdjJyk7CiAgLy8gRXZlcnkgb25lIG9mIHRoZXNlIGNhbGwgY2FuIGxlYWQgYSBjcmFz
aC4KICBkb2N1bWVudC5nZXRTZWxlY3Rpb24oKS5jb2xsYXBzZShkb2NUeXBlKTsKICBkb2N1bWVu
dC5nZXRTZWxlY3Rpb24oKS5leHRlbmQoZG9jVHlwZSwgMCk7CiAgZG9jdW1lbnQuZ2V0U2VsZWN0
aW9uKCkuc2VsZWN0QWxsQ2hpbGRyZW4oZG9jVHlwZSwgMCk7CiAgZG9jdW1lbnQuZ2V0U2VsZWN0
aW9uKCkuc2V0UG9zaXRpb24oZG9jVHlwZSwgMCk7CjwvU0NSSVBUPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>