Summary: | Order of execution of cached scripts differs from other browsers (BBC News Player not opening requested video) | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Stephen Harbage <s_harbage> | ||||
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | REOPENED --- | ||||||
Severity: | Normal | CC: | ap, hppyromz, ian, koivisto, mitz, nickshanks, s_harbage, solushex | ||||
Priority: | P2 | Keywords: | HasReduction | ||||
Version: | 417.x | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
URL: | http://news.bbc.co.uk/ | ||||||
Attachments: |
|
Description
Stephen Harbage
2006-03-11 10:30:20 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:]) ================= *** Bug 6150 has been marked as a duplicate of this bug. *** Created attachment 8479 [details]
test case
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. 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 :-) Bug 11838 may have the same root cause as this one. 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 : ) 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. Removing HitListCandidate keyword per comments 7 and 8. Bug 17040 may have the same root cause as this one. |