<?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>58871</bug_id>
          
          <creation_ts>2011-04-19 01:57:28 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION(84176): http/tests/xmlhttprequest/event-listener-gc.html fails</short_desc>
          <delta_ts>2011-05-18 14:31:53 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>58718</blocked>
    
    <blocked>58853</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>ggaren</cc>
    
    <cc>luiz</cc>
    
    <cc>oliver</cc>
    
    <cc>ossy</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>388363</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-04-19 01:57:28 -0700</bug_when>
    <thetext>After r84194, event handler doesn&apos;t fire after GC if we run all tests,
but it works if I run only http/tests/xmlhttprequest/event-listener-gc.html.

diff:
-----
--- /home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/layout-test-results/http/tests/xmlhttprequest/event-listener-gc-expected.txt	2011-04-19 01:47:51.694792438 -0700
+++ /home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build/layout-test-results/http/tests/xmlhttprequest/event-listener-gc-actual.txt	2011-04-19 01:47:51.694792438 -0700
@@ -4,7 +4,4 @@
 
 If the test passes, you&apos;ll see a series of &apos;PASS&apos; messages below.
 
-PASS: event handler fired after garbage collection.
-PASS: event handler fired after garbage collection.
-PASS: event handler fired after garbage collection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388442</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-04-19 06:04:53 -0700</bug_when>
    <thetext>I can reproduce it on 84176 (with 84178 and 84186), but I can&apos;t on 84175.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388472</commentid>
    <comment_count>2</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-04-19 06:45:40 -0700</bug_when>
    <thetext>It caused one more fail on the debug bot:

--- /home/webkitbuildbot/slaves/debug32bit/buildslave/qt-linux-32-debug/build/layout-test-results/http/tests/security/mixedContent/insecure-plugin-in-iframe-expected.txt	2011-04-19 06:28:38.671792776 -0700
+++ /home/webkitbuildbot/slaves/debug32bit/buildslave/qt-linux-32-debug/build/layout-test-results/http/tests/security/mixedContent/insecure-plugin-in-iframe-actual.txt	2011-04-19 06:28:38.671792776 -0700
@@ -3,10 +3,10 @@
 frame &quot;&lt;!--framePath //&lt;!--frame0--&gt;--&gt;&quot; - didCommitLoadForFrame
 frame &quot;&lt;!--framePath //&lt;!--frame0--&gt;--&gt;&quot; - didFinishDocumentLoadForFrame
 frame &quot;&lt;!--framePath //&lt;!--frame0--&gt;--&gt;&quot; - didHandleOnloadEventsForFrame
-main frame - didHandleOnloadEventsForFrame
 CONSOLE MESSAGE: line 1: The page at https://127.0.0.1:8443/security/mixedContent/resources/frame-with-insecure-plugin.html ran insecure content from http://127.0.0.1:8000/security/mixedContent/resources/dummy.swf.
 
 didRunInsecureContent
+main frame - didHandleOnloadEventsForFrame
 frame &quot;&lt;!--framePath //&lt;!--frame0--&gt;--&gt;&quot; - didFinishLoadForFrame
 main frame - didFinishLoadForFrame
 This test loads a secure iframe that loads an insecure plugin. We should get a mixed content callback because the insecure plug-in can script the secure origin.



And two timeout:
- editing/text-iterator/basic-iteration.html 		
- fast/js/array-sort-modifying-tostring.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388488</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-04-19 07:11:07 -0700</bug_when>
    <thetext>I rolled out the patches, because they caused strange GC related fails, timeouts: http://trac.webkit.org/changeset/84252

It needs more investigation, because reproducing this 
bug on a small example isn&apos;t so trivial task.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388509</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-04-19 07:55:07 -0700</bug_when>
    <thetext>Oliver, Geoff, Zoltan have you got any idea what happened?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388510</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-04-19 07:59:14 -0700</bug_when>
    <thetext>( Geoff is absolutely innocent, because first I thought that r84194 
was the culprit. I cc-ed Gavin, the reviewer of the patches. )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>388570</commentid>
    <comment_count>6</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2011-04-19 10:14:25 -0700</bug_when>
    <thetext>Csaba you need to remove the use of DeprecatedPtr from the qt bindings, either replace the DeprecatedPtr with a WriteBarrier or use Weak (or WeakGCMap) with the appropriate lifetime logic, or remove the method cache which is of questionable correctness.

We need to remove DeprecatedPtr as it will result in incorrect behaviour wherever it is used.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>405996</commentid>
    <comment_count>7</comment_count>
    <who name="Luiz Agostini">luiz</who>
    <bug_when>2011-05-18 13:30:46 -0700</bug_when>
    <thetext>What is the status of this bug?

The patches in bug 58718 and bug 58853 were landed and they are both resolved as fixed. And the test http/tests/xmlhttprequest/event-listener-gc.html is not skipped nor failing.

Ossy, could we close this bug?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>