<?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>146182</bug_id>
          
          <creation_ts>2015-06-20 09:05:19 -0700</creation_ts>
          <short_desc>editing/selection/leak-document-with-selection-inside.html is flaky</short_desc>
          <delta_ts>2022-07-12 10:43:57 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>242585</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>119122</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fujii</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1103626</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-06-20 09:05:19 -0700</bug_when>
    <thetext>editing/selection/leak-document-with-selection-inside.html is flaky on most platforms, and fails on both Release and Debug bots for Apple Win 7.

Per the Flakiness Dashboard, this test appears to have started flaking more in the last month or so (June 2015):
&lt;https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;revision=185721&amp;tests=editing%2Fselection%2Fleak-document-with-selection-inside.html&gt;

The test relies on garbage collection and a zero-delay timer.

Previous attempt to fix flakiness: &lt;http://trac.webkit.org/r153498&gt;

Test originally added by:
Bug 119122: REGRESSION(r139282): Fix document leak when selection is created inside the document
&lt;https://bugs.webkit.org/show_bug.cgi?id=119122&gt;
&lt;http://trac.webkit.org/changeset/153366&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103630</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-06-20 09:11:36 -0700</bug_when>
    <thetext>Hmm...the Flakiness Dashboard says the test always fails on Apple Win 7 Release/Debug, but I don&apos;t see the failures on individual test runs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103631</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-06-20 09:17:20 -0700</bug_when>
    <thetext>Marked test as flaky: &lt;http://trac.webkit.org/r185796&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1103752</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2015-06-21 19:04:17 -0700</bug_when>
    <thetext>I think GCController.gc() doesn&apos;t always collect all the objects :(  We need to figure out why.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882374</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2022-07-12 05:02:34 -0700</bug_when>
    <thetext>Fixed by 252375@main.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882378</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-12 05:03:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/96878268&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1882419</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2022-07-12 10:43:57 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 242585 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>