<?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>13466</bug_id>
          
          <creation_ts>2007-04-23 22:33:36 -0700</creation_ts>
          <short_desc>REGRESSION: Some content missing from www.kyte.tv</short_desc>
          <delta_ts>2007-07-13 22:29:30 -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>New Bugs</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.kyte.tv/home/index.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, NeedsReduction, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Charles Gaudette">charles</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mbritto</cc>
    
    <cc>mrowe</cc>
    
    <cc>sroret</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13064</commentid>
    <comment_count>0</comment_count>
    <who name="Charles Gaudette">charles</who>
    <bug_when>2007-04-23 22:33:36 -0700</bug_when>
    <thetext>The content shows in Safari 2 .0.4 (419.3), but fails in WebKit r21060. The missing content is Flash, but the error seems to be the JavaScript. The page displays &quot;Your Adobe Flash Plug-in is not up to date. Click here for more information.&quot;, but the Flash plugin works correctly on the site&apos;s own test page, http://www.kyte.tv/home/noflash.html .

Terminal reports:
[PID] http://www.kyte.tv/home/index.html line 276: TypeError: Undefined value

This seems to me to be similar to http://bugs.webkit.org/show_bug.cgi?id=11375 , but not exactly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13084</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-04-24 05:32:10 -0700</bug_when>
    <thetext>if (typeof HTMLElement != &quot;undefined&quot;) {

    if(HTMLElement.prototype.__defineGetter__) {

        HTMLElement.prototype.__defineGetter__(&quot;innerText&quot;, function()
        {
            var tmp = this.innerHTML.replace(/&lt;br&gt;/gi, &quot;\n&quot;);       ### &lt;--- This line is throwing the exception.
            return tmp.replace(/&lt;[^&gt;]+&gt;/g, &quot;&quot;).replace(/&amp;nbsp;/g, &quot; &quot;);
        });

        HTMLElement.prototype.__defineSetter__(&quot;innerText&quot;, function(txtStr)
        {
            var parsedText = document.createTextNode(txtStr);
            this.innerHTML = &quot;&quot;;
            this.appendChild(parsedText);
        });
    }

    if (HTMLElement.prototype.attachEvent==undefined) HTMLElement.prototype.attachEvent = window.attachEvent;
    if (HTMLElement.prototype.detachEvent==undefined) HTMLElement.prototype.detachEvent = window.detachEvent;

}

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12997</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-04-24 09:22:17 -0700</bug_when>
    <thetext>Regressions are P1.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12081</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-04-27 02:58:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/5166139&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8209</commentid>
    <comment_count>4</comment_count>
    <who name="Maxime BRITTO">mbritto</who>
    <bug_when>2007-06-07 02:39:27 -0700</bug_when>
    <thetext>It seems to come from a script error. The developper in charge of this script used an / before the &lt; at line 276. But the &apos;&lt;&apos; doesn&apos;t need the &apos;/&apos; to be found.
With this new line 276 :
var tmp = this.innerHTML.replace(&lt;br\s*[/]?\s*&gt;/gi, &quot;\n&quot;);

The script keep up loading and flash pugin is detected.But it still don&apos;t work because I just copied the index.html and script.js on my hard drive to test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8208</commentid>
    <comment_count>5</comment_count>
    <who name="Maxime BRITTO">mbritto</who>
    <bug_when>2007-06-07 03:03:36 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; The script keep up loading and flash pugin is detected.But it still doesn&apos;t work
&gt; because I just copied the index.html and script.js on my hard drive to test.

When I say it doesn&apos;t work it&apos;s just a security measure with an alert message blocking a local file from openning a distant adress through the flash pugin.
Even after this alert, I can see the flash animation in the page, trying to connect.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6208</commentid>
    <comment_count>6</comment_count>
    <who name="Maxime BRITTO">mbritto</who>
    <bug_when>2007-06-26 08:17:13 -0700</bug_when>
    <thetext>I can&apos;t reproduce this bug on Safari 3.0 and webkit r23789.
They did change the line 276 which was the origyn of the problem.
There is now two new JS errors but I can&apos;t see any visible consequences.

I think it was an evangelism issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4832</commentid>
    <comment_count>7</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2007-07-13 22:29:30 -0700</bug_when>
    <thetext>I can&apos;t see any problem with the flash, and the preceeding comment implies the bug was in the site rather than webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>