[Webkit-unassigned] [Bug 33686] New: 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
Thu Jan 14 13:34:42 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33686
Summary: Media elements' networkState is left at
NETWORK_LOADING if resource load delegate returns null
from willSendRequest
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aroben at apple.com
CC: andersca at apple.com, eric.carlson at apple.com
Created an attachment (id=46603)
--> (https://bugs.webkit.org/attachment.cgi?id=46603)
patch with test case
To reproduce:
1. Apply the attached test case patch
2. run-webkit-tests media
The test shows that when the resource load delegate blocks the load of a media
element by returning null from willSendRequest, the media element's
networkState is left at NETWORK_LOADING. (The media element's
m_delayingTheLoadEvent flag also remains true, but that has no effect because
the flag is only checked in an assertion. (!))
Changing networkState to NETWORK_NO_SOURCE would make a lot more sense, I
think. (So would setting m_delayingTheLoadEvent to false.)
--
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