<?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>34281</bug_id>
          
          <creation_ts>2010-01-28 12:50:18 -0800</creation_ts>
          <short_desc>fast/workers/shared-worker-frame-lifecycle.html failed on Qt Bot</short_desc>
          <delta_ts>2011-05-24 10:22: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>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>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>atwilson</cc>
    
    <cc>commit-queue</cc>
    
    <cc>kling</cc>
    
    <cc>levin</cc>
    
    <cc>luiz</cc>
    
    <cc>ossy</cc>
    
    <cc>qi.2.zhang</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>185582</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-28 12:50:18 -0800</bug_when>
    <thetext>fast/workers/shared-worker-frame-lifecycle.html failed on Qt Bot

Judging by the failure diff, i suspect the test just has a race:
http://build.webkit.org/results/Qt%20Linux%20Release/r53992%20(6638)/fast/workers/shared-worker-frame-lifecycle-diffs.txt
--- /home/webkit/buildslave/qt-linux-release/build/layout-test-results/fast/workers/shared-worker-frame-lifecycle-expected.txt	2010-01-28 01:25:03.000000000 -0800
+++ /home/webkit/buildslave/qt-linux-release/build/layout-test-results/fast/workers/shared-worker-frame-lifecycle-actual.txt	2010-01-28 01:25:03.000000000 -0800
@@ -1,12 +1,3 @@
-This test checks whether shared workers exit when the parent document closes
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-PASS Frame1 closed, shared workers kept running
-PASS Frame2 closed, shared worker2 exited
-PASS Frame3 closed, shared worker3 exited
-PASS Frame4 closed, all workers closed
-
-TEST COMPLETE
+CONSOLE MESSAGE: line 19: TypeError: Result of expression &apos;document.getElementById(&quot;console&quot;)&apos; [null] is not an object.
+FAIL: Timed out waiting for notifyDone to be called
 
Has been around 5 months:
http://trac.webkit.org/browser/trunk/LayoutTests/fast/workers/shared-worker-frame-lifecycle.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185604</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2010-01-28 14:15:21 -0800</bug_when>
    <thetext>I&apos;m hard-pressed to understand how this happens - here&apos;s the body of the test:

&lt;head&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;../js/resources/js-test-style.css&quot;&gt;
&lt;script src=&quot;../js/resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;p id=&quot;description&quot;&gt;&lt;/p&gt;
&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
&lt;script src=&quot;resources/shared-worker-create-common.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;resources/worker-util.js&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;resources/shared-worker-lifecycle.js&quot;&gt;&lt;/script&gt;
&lt;/body&gt;


The error is generated by line 19 of js-test-pre.js (the &quot;debug()&quot; method). Note that the &quot;console&quot; div is defined before any of the test code executes, so there&apos;s no way for debug() to get invoked before console is defined.

If this keeps happening, we could move the loading of the js-test-pre.js script until after the console div is defined, but it shouldn&apos;t matter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185674</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-28 18:08:30 -0800</bug_when>
    <thetext>I believe scripts execute as soon as they&apos;re loaded.  So it&apos;s possible for js-test-pre.js to execute before &lt;div id=&quot;console&quot;&gt; is hit.  But looking at it, I don&apos;t see it using debug() anywhere in the global scope which could cause this error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185680</commentid>
    <comment_count>3</comment_count>
    <who name="Andrew Wilson">atwilson</who>
    <bug_when>2010-01-28 18:19:41 -0800</bug_when>
    <thetext>Exactly. debug() has to get called, and I can&apos;t see how it would get called without actually running a test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>187708</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-02-04 02:52:26 -0800</bug_when>
    <thetext>$WebKitTools/Scripts/run-webkit-tests fast/workers/shared-worker-frame-lifecycle.html --iterations 10000
--&gt; always passed

$WebKitTools/Scripts/run-webkit-tests fast/workers --iterations 100
--&gt; failed 7 times, passed 93 times

This strange bug might caused by another test, it can be a DRT sideeffect, but I can&apos;t reproduce it consistently yet. So I skipped it to make buildbot happy. ( http://trac.webkit.org/changeset/54338 )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>368285</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-03-16 04:10:09 -0700</bug_when>
    <thetext>I skipped it again, because it still fails: http://trac.webkit.org/changeset/81226

100 runs, 14 fails</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>368289</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-03-16 04:18:06 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; I skipped it again, because it still fails: http://trac.webkit.org/changeset/81226
&gt; 
&gt; 100 runs, 14 fails

pretty diff: http://build.webkit.org/results/Qt%20Linux%20Release/r81232%20%2829888%29/fast/workers/shared-worker-frame-lifecycle-pretty-diff.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408788</commentid>
    <comment_count>7</comment_count>
    <who name="qi">qi.2.zhang</who>
    <bug_when>2011-05-24 05:58:27 -0700</bug_when>
    <thetext>It works for me on the r87070. I used &quot;Tools/Scripts/run-webkit-tests fast/workers --iterations 100&quot;.

Can we just unskip it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408791</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-05-24 06:00:57 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; It works for me on the r87070. I used &quot;Tools/Scripts/run-webkit-tests fast/workers --iterations 100&quot;.
&gt; 
&gt; Can we just unskip it?

Thanks for checking it. rs=me for unskipping it.
We can skip it again if fail occurs again. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408804</commentid>
    <comment_count>9</comment_count>
      <attachid>94600</attachid>
    <who name="qi">qi.2.zhang</who>
    <bug_when>2011-05-24 06:20:42 -0700</bug_when>
    <thetext>Created attachment 94600
patch

Remove the test case from skip list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408807</commentid>
    <comment_count>10</comment_count>
      <attachid>94600</attachid>
    <who name="Andreas Kling">kling</who>
    <bug_when>2011-05-24 06:22:26 -0700</bug_when>
    <thetext>Comment on attachment 94600
patch

rs=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408886</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-24 08:43:16 -0700</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 94600:

animations/dynamic-stylesheet-loading.html bug 52669 (authors: cmarrin@apple.com and simon.fraser@apple.com)
http/tests/websocket/tests/url-no-trailing-slash.html bug 60906 (author: abarth@webkit.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408888</commentid>
    <comment_count>12</comment_count>
      <attachid>94600</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-24 08:45:02 -0700</bug_when>
    <thetext>Comment on attachment 94600
patch

Clearing flags on attachment: 94600

Committed r87155: &lt;http://trac.webkit.org/changeset/87155&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408889</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-24 08:45:09 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>408966</commentid>
    <comment_count>14</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-05-24 10:22:57 -0700</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 94600:

java/lc3/JavaObject/JavaObjectToByte-006.html bug 60333 (author: ap@webkit.org)
The commit-queue is continuing to process your patch.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>94600</attachid>
            <date>2011-05-24 06:20:42 -0700</date>
            <delta_ts>2011-05-24 08:45:02 -0700</delta_ts>
            <desc>patch</desc>
            <filename>34281.patch</filename>
            <type>text/plain</type>
            <size>1203</size>
            <attacher name="qi">qi.2.zhang</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDg3MTQ1KQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkp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