<?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>49529</bug_id>
          
          <creation_ts>2010-11-15 02:31:01 -0800</creation_ts>
          <short_desc>[gtk] SVGLineElement-dom-requiredFeatures.html and SVGLineElement-svgdom-requiredFeatures.html failing in the bots</short_desc>
          <delta_ts>2010-11-30 19:38:50 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>1</everconfirmed>
          <reporter name="Alejandro G. Castro">alex</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>krit</cc>
    
    <cc>rwlbuis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>309213</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2010-11-15 02:31:01 -0800</bug_when>
    <thetext>They work for me locally but apparently the startTest does not start the test in the bots. I&apos;m skipping the tests until we find the issue. Dirk do you have any clue about why this could happen?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>309399</commentid>
    <comment_count>1</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2010-11-15 13:00:30 -0800</bug_when>
    <thetext>Hi,

(In reply to comment #0)
&gt; They work for me locally but apparently the startTest does not start the test in the bots. I&apos;m skipping the tests until we find the issue. Dirk do you have any clue about why this could happen?

This sounds like the onclick is not triggered. You could try such a change to see if it helps:

diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js
index b1f8e95..ccbc735 100644
--- a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js
@@ -9,6 +9,7 @@ lineElement.setAttribute(&quot;y1&quot;, &quot;20&quot;);
 lineElement.setAttribute(&quot;x2&quot;, &quot;200&quot;);
 lineElement.setAttribute(&quot;y2&quot;, &quot;200&quot;);
 lineElement.setAttribute(&quot;fill&quot;, &quot;green&quot;);
+lineElement.setAttribute(&quot;style&quot;, &quot;stroke-width:10px&quot;);

 rootSVGElement.appendChild(lineElement);

diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js
index 2350445..ffab290 100644
--- a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js
@@ -9,6 +9,7 @@ lineElement.setAttribute(&quot;y1&quot;, &quot;20&quot;);
 lineElement.setAttribute(&quot;x2&quot;, &quot;200&quot;);
 lineElement.setAttribute(&quot;y2&quot;, &quot;200&quot;);
 lineElement.setAttribute(&quot;fill&quot;, &quot;green&quot;);
+lineElement.setAttribute(&quot;style&quot;, &quot;stroke-width:10px&quot;);

 rootSVGElement.appendChild(lineElement);

Cheers,

Rob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310210</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2010-11-17 04:34:10 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Hi,
&gt; 
&gt; (In reply to comment #0)
&gt; &gt; They work for me locally but apparently the startTest does not start the test in the bots. I&apos;m skipping the tests until we find the issue. Dirk do you have any clue about why this could happen?
&gt; 
&gt; This sounds like the onclick is not triggered. You could try such a change to see if it helps:
&gt; 

Thanks for the help, I tried the change in the bots and apparently did not fix the issue, I also tried to change the point of the onclick but without success.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310391</commentid>
    <comment_count>3</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2010-11-17 11:03:06 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Hi,
&gt; &gt; 
&gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; They work for me locally but apparently the startTest does not start the test in the bots. I&apos;m skipping the tests until we find the issue. Dirk do you have any clue about why this could happen?
&gt; &gt; 
&gt; &gt; This sounds like the onclick is not triggered. You could try such a change to see if it helps:
&gt; &gt; 
&gt; 
&gt; Thanks for the help, I tried the change in the bots and apparently did not fix the issue, I also tried to change the point of the onclick but without success.

Does it work manually for you? Means opening the test in the browser and click manually on the element? (I&apos;m not sure if the element is visible at the beginning of the test, so..)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>310455</commentid>
    <comment_count>4</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2010-11-17 12:39:43 -0800</bug_when>
    <thetext>Hi,

(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Hi,
&gt; &gt; 
&gt; &gt; (In reply to comment #0)
&gt; &gt; &gt; They work for me locally but apparently the startTest does not start the test in the bots. I&apos;m skipping the tests until we find the issue. Dirk do you have any clue about why this could happen?
&gt; &gt; 
&gt; &gt; This sounds like the onclick is not triggered. You could try such a change to see if it helps:
&gt; &gt; 
&gt; 
&gt; Thanks for the help, I tried the change in the bots and apparently did not fix the issue, I also tried to change the point of the onclick but without success.

Dirks tip to try it manually is a good idea. Also I noticed setting fill is probably not correct for the line, could you try this patch instead:

diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js
index b1f8e95..3a54c7a 100644
--- a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js
@@ -8,7 +8,8 @@ lineElement.setAttribute(&quot;x1&quot;, &quot;20&quot;);
 lineElement.setAttribute(&quot;y1&quot;, &quot;20&quot;);
 lineElement.setAttribute(&quot;x2&quot;, &quot;200&quot;);
 lineElement.setAttribute(&quot;y2&quot;, &quot;200&quot;);
-lineElement.setAttribute(&quot;fill&quot;, &quot;green&quot;);
+lineElement.setAttribute(&quot;stroke&quot;, &quot;green&quot;);
+lineElement.setAttribute(&quot;stroke-width&quot;, &quot;10px&quot;);

 rootSVGElement.appendChild(lineElement);

diff --git a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js
index 2350445..2c0b9d0 100644
--- a/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js
+++ b/LayoutTests/svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js
@@ -8,7 +8,8 @@ lineElement.setAttribute(&quot;x1&quot;, &quot;20&quot;);
 lineElement.setAttribute(&quot;y1&quot;, &quot;20&quot;);
 lineElement.setAttribute(&quot;x2&quot;, &quot;200&quot;);
 lineElement.setAttribute(&quot;y2&quot;, &quot;200&quot;);
-lineElement.setAttribute(&quot;fill&quot;, &quot;green&quot;);
+lineElement.setAttribute(&quot;stroke&quot;, &quot;green&quot;);
+lineElement.setAttribute(&quot;stroke-width&quot;, &quot;10px&quot;);

 rootSVGElement.appendChild(lineElement);

Cheers,

Rob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312757</commentid>
    <comment_count>5</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2010-11-23 04:41:06 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt;
&gt; [...]
&gt; 
&gt; Does it work manually for you? Means opening the test in the browser and click manually on the element? (I&apos;m not sure if the element is visible at the beginning of the test, so..)

Sorry for the late answer, too  much things in my plate, you are right it even did not show the element so I could not click. With the patch sent by Rob it worked manually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312758</commentid>
    <comment_count>6</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2010-11-23 04:42:39 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt;
&gt; [...]
&gt; 
&gt; Dirks tip to try it manually is a good idea. Also I noticed setting fill is probably not correct for the line, could you try this patch instead:
&gt; 

Awesome, it worked, both manually and in the bots :). Thanks again for taking care and sorry for the late reply.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312976</commentid>
    <comment_count>7</comment_count>
    <who name="Rob Buis">rwlbuis</who>
    <bug_when>2010-11-23 12:40:42 -0800</bug_when>
    <thetext>Hi Alejandro,

(In reply to comment #6)
&gt; (In reply to comment #4)
&gt; &gt;
&gt; &gt; [...]
&gt; &gt; 
&gt; &gt; Dirks tip to try it manually is a good idea. Also I noticed setting fill is probably not correct for the line, could you try this patch instead:
&gt; &gt; 
&gt; 
&gt; Awesome, it worked, both manually and in the bots :). Thanks again for taking care and sorry for the late reply.

No problem, I created the problem in the first place so I may as well clean it up :) So I guess you&apos;ll commit the fix soon?
Cheers,

Rob.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>313206</commentid>
    <comment_count>8</comment_count>
      <attachid>74738</attachid>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2010-11-24 04:03:24 -0800</bug_when>
    <thetext>Created attachment 74738
Proposed patch

I&apos;ve created the patch on your behalf because I think we need a review for this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>315487</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-30 19:15:07 -0800</bug_when>
    <thetext>The commit-queue encountered the following flaky tests while processing attachment 74738:

fast/history/history-subframe-with-name.html
fast/preloader/script.html

Please file bugs against the tests.  These tests were authored by abarth@webkit.org and mihaip@chromium.org.  The commit-queue is continuing to process your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>315493</commentid>
    <comment_count>10</comment_count>
      <attachid>74738</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-30 19:38:45 -0800</bug_when>
    <thetext>Comment on attachment 74738
Proposed patch

Clearing flags on attachment: 74738

Committed r73005: &lt;http://trac.webkit.org/changeset/73005&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>315494</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-30 19:38:50 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>74738</attachid>
            <date>2010-11-24 04:03:24 -0800</date>
            <delta_ts>2010-11-30 19:38:44 -0800</delta_ts>
            <desc>Proposed patch</desc>
            <filename>svg.patch</filename>
            <type>text/plain</type>
            <size>3050</size>
            <attacher name="Alejandro G. Castro">alex</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCAxYTNlY2FlLi4yMmYwNmFhIDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0cy9DaGFuZ2VM
b2cKKysrIGIvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTggQEAKKzIwMTAtMTEt
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