Bug 56316 - Stalled media elements don't stop delaying the load event
Summary: Stalled media elements don't stop delaying the load event
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-03-14 10:42 PDT by Joseph Pecoraro
Modified: 2011-03-14 21:11 PDT (History)
3 users (show)

See Also:


Attachments
[PATCH] Suggested Fix: Stop Delaying @ stalled + suspend events (3.91 KB, patch)
2011-03-14 11:33 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2011-03-14 10:42:47 PDT
If a media element is stalled, or doesn't load without user interaction, the
media element should stop deferring the (window's) load event.

The spec does also say:
http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#concept-media-load-resource

> "When a user agent decides to completely stall a download, e.g. if it is
> waiting until the user starts playback before downloading any further
> content, the element's delaying-the-load-event flag must be set to false."

There are a number of points we can stall that seem to be affected:

  • super early, after load start but before getting meta data (or any data if user required).
  • early, after meta data but before real data
Comment 1 Joseph Pecoraro 2011-03-14 10:49:46 PDT
The spec also says:

> When a user agent decides to completely stall a download, e.g. if it is waiting
> until the user starts playback before downloading any further content, the
> element's delaying-the-load-event flag must be set to false. This stops
> delaying the load event.
Comment 2 Joseph Pecoraro 2011-03-14 10:50:41 PDT
Sorry about the double paste.
Comment 3 Joseph Pecoraro 2011-03-14 10:57:34 PDT
<rdar://problem/9071398>
Comment 4 Joseph Pecoraro 2011-03-14 11:33:24 PDT
Created attachment 85693 [details]
[PATCH] Suggested Fix: Stop Delaying @ stalled + suspend events
Comment 5 WebKit Commit Bot 2011-03-14 21:11:46 PDT
Comment on attachment 85693 [details]
[PATCH] Suggested Fix: Stop Delaying @ stalled + suspend events

Clearing flags on attachment: 85693

Committed r81104: <http://trac.webkit.org/changeset/81104>
Comment 6 WebKit Commit Bot 2011-03-14 21:11:52 PDT
All reviewed patches have been landed.  Closing bug.