<?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>98640</bug_id>
          
          <creation_ts>2012-10-08 03:56:43 -0700</creation_ts>
          <short_desc>[Qt] plugins/refcount-leaks.html fails</short_desc>
          <delta_ts>2014-02-01 19:00:40 -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>New Bugs</component>
          <version>420+</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>79666</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>736617</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-10-08 03:56:43 -0700</bug_when>
    <thetext>Plugin tests were unskipped by https://trac.webkit.org/changeset/130623, but this one still fail.

WK1 fail:
----------
--- /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/plugins/refcount-leaks-expected.txt
+++ /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/plugins/refcount-leaks-actual.txt
@@ -8,5 +8,5 @@
 --- refcount on plug.testObject:
 originally: 2
 after GC: 2
-after passing: 2
-SUCCESS
+after passing: 3
+FAILURE

WK2 fail:
----------
--- /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/plugins/refcount-leaks-expected.txt
+++ /home/oszi/WebKit/WebKitBuild/Release/layout-test-results/plugins/refcount-leaks-actual.txt
@@ -3,10 +3,10 @@

 --- num test objects:
 countAfterCreate == countOrig + 3? PASS
-countOrig == countAfterGC? PASS
+countOrig == countAfterGC? FAIL

 --- refcount on plug.testObject:
 originally: 2
-after GC: 2
-after passing: 2
-SUCCESS
+after GC: 5
+after passing: 8
+FAILURE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>736621</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-10-08 04:04:58 -0700</bug_when>
    <thetext>Skipped by r130632, please unskip it with the proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772808</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-21 04:50:34 -0800</bug_when>
    <thetext>It passes on Qt5-WK1, but still fails on Qt5-WK2, so I moved
the skip list entry to the WK2 platform - r135386.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>772833</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-21 05:34:00 -0800</bug_when>
    <thetext>I meant r135389.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773971</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-22 08:22:12 -0800</bug_when>
    <thetext>It still fails on 32 bit Qt5-WK1 platform. (but passes on 64 bit)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>773973</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-11-22 08:26:44 -0800</bug_when>
    <thetext>I skipped it again - r135526.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>782622</commentid>
    <comment_count>6</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2012-12-04 09:41:03 -0800</bug_when>
    <thetext>It fails here on WK1-64bit as well. Inserting timeouts into the tests seems to help, so apparently there is a race condition of sorts.

On WK2 though I get &quot; line 24: TypeError: &apos;undefined&apos; is not a function (evaluating &apos;plug.testCreateTestObject()&quot; though. So it is even support in WebKitTestRunner?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>