<?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>7722</bug_id>
          
          <creation_ts>2006-03-11 10:30:20 -0800</creation_ts>
          <short_desc>Order of execution of cached scripts differs from other browsers (BBC News Player not opening requested video)</short_desc>
          <delta_ts>2019-05-02 16:20:32 -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>Page Loading</component>
          <version>417.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://news.bbc.co.uk/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stephen Harbage">s_harbage</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>hppyromz</cc>
    
    <cc>ian</cc>
    
    <cc>koivisto</cc>
    
    <cc>mitz</cc>
    
    <cc>nickshanks</cc>
    
    <cc>s_harbage</cc>
    
    <cc>solushex</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35898</commentid>
    <comment_count>0</comment_count>
    <who name="Stephen Harbage">s_harbage</who>
    <bug_when>2006-03-11 10:30:20 -0800</bug_when>
    <thetext>Hello.

If you go to the BBC News&apos; webpage (http://news.bbc.co.uk/) and look to the lower right of the screen. 

Under the title in white and red: BBC NEWS: VIDEO AND AUDIO with links to the video available. E.g. &apos;Drought crisis threatens many Somalians&apos; with a little picture

Click on either the picture, text (&apos;Drought crisis threatens many Somalians&apos;) or grey button with &apos;video&apos; on it.

It should then open a window entitled &apos;BBC News Player&apos;. What should happen is that it opens the video requested but it does not (ie it only opens the BBC News three second intro screen, not the drought crisis video). Try it again: close the BBC News Player window and click on something else: picture, text or grey video button. Doing this repeatedly sometimes makes it work (or if it worked first time try another link).

I found this bug to be repeatable in Mac OS X 10.3, Safari webcore 312.3 as well as 417.8

The bug does not occur however, on Firefox 1.5.0.1.

Hope you can fix it okay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35920</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-03-11 14:45:35 -0800</bug_when>
    <thetext>Confirmed with stock 10.4.5 Safari and with ToT.

On the first attempt, I got a window asking whether I prefer Real Player or Windows Media. I chose Real, it worked for this first time, but then started to only show the intro screen.

Even when it works, there are errors in the console:

=================
ERROR: NPP_NewStream failed with error: 12 responseURL: http://news.bbc.co.uk/media/avdb/news_web/video/9012da68003c1c8/nb/09012da68003c2d4_16x9_nb.ram
(/Users/ap/WebKit/WebKit/Plugins/WebBaseNetscapePluginStream.m:229 -[WebBaseNetscapePluginStream startStreamResponseURL:expectedContentLength:lastModifiedDate:MIMEType:])
=================
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43142</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-22 06:35:23 -0700</bug_when>
    <thetext>*** Bug 6150 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43255</commentid>
    <comment_count>3</comment_count>
      <attachid>8479</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-23 02:52:32 -0700</bug_when>
    <thetext>Created attachment 8479
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43256</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-05-23 03:05:08 -0700</bug_when>
    <thetext>The NPP_NewStream error turns to be red herring. The real problem here is the execution order of scripts invoked from separate frames - it is different, depending on whether the scripts are already cached.

The attached test case logs script execution to the JavaScript console; the expected order is (1, 3, 2), as observed on first load in Safari/WebKit, and always observed in Firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47920</commentid>
    <comment_count>5</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2006-07-01 12:20:40 -0700</bug_when>
    <thetext>By the way, the workaround for this is to right-click on the right hand side of the window and choose Reload Frame. Then the video plays. I&apos;ve been doing this for a few years now :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41923</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-15 09:35:16 -0800</bug_when>
    <thetext>Bug 11838 may have the same root cause as this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14965</commentid>
    <comment_count>7</comment_count>
    <who name="Stephen Harbage">s_harbage</who>
    <bug_when>2007-04-11 17:08:50 -0700</bug_when>
    <thetext>As the BBC have changed their Audio and Video viewer completely this doesn&apos;t apply and doesn&apos;t have these problems so I guess Invalid is the best resolution.

Thanks anyway : )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14955</commentid>
    <comment_count>8</comment_count>
    <who name="Nicholas Shanks">nickshanks</who>
    <bug_when>2007-04-11 18:23:38 -0700</bug_when>
    <thetext>No, just because the BBC have changed their site doesn&apos;t mean the cause of the bug (out of sequence loading of javascripts) is invalid. I am reopening, though perhaps its priority can now be reduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14684</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-04-16 01:06:14 -0700</bug_when>
    <thetext>Removing HitListCandidate keyword per comments 7 and 8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68453</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-01-28 09:41:01 -0800</bug_when>
    <thetext>Bug 17040 may have the same root cause as this one.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>8479</attachid>
            <date>2006-05-23 02:52:32 -0700</date>
            <delta_ts>2006-05-23 02:52:32 -0700</delta_ts>
            <desc>test case</desc>
            <filename>script-race.zip</filename>
            <type>application/octet-stream</type>
            <size>2655</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">UEsDBBQACAAIAMBttzQAAAAAAAAAAAAAAAASABAAZXh0ZXJuYWxTY3JpcHQxLmpzVVgMANDackTX
2XJE9QH1ActMU9Aoz8xLyS/XS87PK87PSdXkUlCAMvVy8tM1lFIrSlKL8hJzgpOLMgtKDJU0rblS
c4pTgcpSSnMLMORj8kAqAFBLBwj4a3WtQgAAAFgAAABQSwMECgAAAAAARG63NAAAAAAAAAAAAAAA
AAkAEABfX01BQ09TWC9VWAwA0NpyRNDackT1AfUBUEsDBBQACAAIAMBttzQAAAAAAAAAAAAAAAAd
ABAAX19NQUNPU1gvLl9leHRlcm5hbFNjcmlwdDEuanNVWAwA0NpyRNfZckT1AfUBY2AVY2dgYsAE
IDFOIDYCYgUoPwgkEeIaEaIYlJyBRQ8YAABQSwcIRtnwDSMAAABSAAAAUEsDBBQACAAIABdutzQA
AAAAAAAAAAAAAAASABAAZXh0ZXJuYWxTY3JpcHQyLmpzVVgMANDackR+2nJE9QH1ActMU9Aoz8xL
yS/XS87PK87PSdXkUlCAMvVy8tM1lFIrSlKL8hJzgpOLMgtKjJQ0rblSc4pTgcpSSnMLMORj8kAq
AFBLBwiebQZPQgAAAFgAAABQSwMEFAAIAAgAF263NAAAAAAAAAAAAAAAAB0AEABfX01BQ09TWC8u
X2V4dGVybmFsU2NyaXB0Mi5qc1VYDADQ2nJEftpyRPUB9QFjYBVjZ2BiwAQgMU4gNgJiBSg/CCQR
4hoRohiUnIFF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