DescriptionAllow load if play() is immediately called when preload == 'none'
This fixes a bug where the load gets blocked by preload == 'none'
eventhough JavaScript has called play() after setting the src
attribute. This particular bug only appears if play() is called before
the JavaScript code relinquishes control back to the UA.
Tests cases were added to make sure that immediate load() and play()
calls both trigger loading. Before this change, only immediate load()
calls ignored the preload == "none" state.
BUG=177870
TEST=LayoutTest/media/video-preload.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175590
Patch Set 1 #Patch Set 2 : Rebase and remove trailing whitespace #Patch Set 3 : Rebase #
Messages
Total messages: 11 (0 generated)
|