[Webkit-unassigned] [Bug 33686] Media elements' networkState is left at NETWORK_LOADING if resource load delegate returns null from willSendRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 19 13:07:33 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33686





--- Comment #2 from Adam Roben (aroben) <aroben at apple.com>  2010-01-19 13:07:33 PST ---
Eric Carlson and I talked a little about what the desired behavior here is.

We discussed having the media element pretend that @src or a given <source>
element doesn't exist if its load is blocked by the resource load delegate. But
that leads to strange, clearly-non-standard behavior in cases like <video
src=blocked.mp4><source src=notblocked.mp4></video>. (If we pretended that @src
wasn't there because the resource load delegate blocked it, we'd proceed to try
to load the <source> element. But the spec clearly states that @src and
<source> should be mutually exclusive.)

We also discussed treating blocked loads the same as 404s. But then we talked
about how <iframe>, <object>/<embed>, and <img> don't broadcast any error
events when their loads are blocked by the resource load delegate. They
basically behave as if they were told to load about:blank. Treating blocked
loads like 404s would lead to firing error events for media elements, which
would not follow the precedent set by the other elements above.

So we could try to do something similar for media elements. But what would that
mean exactly?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list