REOPENED 7722
Order of execution of cached scripts differs from other browsers (BBC News Player not opening requested video)
https://bugs.webkit.org/show_bug.cgi?id=7722
Summary Order of execution of cached scripts differs from other browsers (BBC News Pl...
Stephen Harbage
Reported 2006-03-11 10:30:20 PST
Hello. If you go to the BBC News' 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. 'Drought crisis threatens many Somalians' with a little picture Click on either the picture, text ('Drought crisis threatens many Somalians') or grey button with 'video' on it. It should then open a window entitled 'BBC News Player'. 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.
Attachments
test case (2.59 KB, application/octet-stream)
2006-05-23 02:52 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2006-03-11 14:45:35 PST
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:]) =================
Alexey Proskuryakov
Comment 2 2006-05-22 06:35:23 PDT
*** Bug 6150 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 3 2006-05-23 02:52:32 PDT
Created attachment 8479 [details] test case
Alexey Proskuryakov
Comment 4 2006-05-23 03:05:08 PDT
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.
Nicholas Shanks
Comment 5 2006-07-01 12:20:40 PDT
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've been doing this for a few years now :-)
Alexey Proskuryakov
Comment 6 2006-12-15 09:35:16 PST
Bug 11838 may have the same root cause as this one.
Stephen Harbage
Comment 7 2007-04-11 17:08:50 PDT
As the BBC have changed their Audio and Video viewer completely this doesn't apply and doesn't have these problems so I guess Invalid is the best resolution. Thanks anyway : )
Nicholas Shanks
Comment 8 2007-04-11 18:23:38 PDT
No, just because the BBC have changed their site doesn'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.
Alexey Proskuryakov
Comment 9 2007-04-16 01:06:14 PDT
Removing HitListCandidate keyword per comments 7 and 8.
Alexey Proskuryakov
Comment 10 2008-01-28 09:41:01 PST
Bug 17040 may have the same root cause as this one.
Note You need to log in before you can comment on or make changes to this bug.