DescriptionTransition networkState back to NETWORK_IDLE on fetch if preload=none
When a media element is marked with the preload hint 'none', a load is not
started until data is explicitly requested. The progress timer is however
still started, which means that a 'stalled' event will be fired after ~3s.
This is confusing, since loading never actually started in the first place.
Fix this by implementing (the "optional") step 3 from the 'resource fetch
algorithm'.
BUG=382505
BUG=284413
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176199
Patch Set 1 #Patch Set 2 : Rebase. #
Total comments: 9
Patch Set 3 : Improve test; Actually "queue" a "task". #Patch Set 4 : Play the waiting game some more. #Patch Set 5 : Reset deferred-FSM in prepareForLoad. #
Total comments: 2
Patch Set 6 : deferredLoad -> deferLoad. #
Messages
Total messages: 8 (0 generated)
|