DescriptionRemove the user gesture restriction for HTMLMediaElement::load()
load() resets some state and invokes resource selection. Preventing
resource selection is not useful, since there are several other
unguarded ways to trigger it using plain markup or scripts.
m_loadInitiatedByUserGesture has been unused outside of load() since the
npr.org quirk was removed in r158703.
If a similar feature is needed in the future, forcing preload="none"
internally would be an alternative.
BUG=342339
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166895
Patch Set 1 #
Total comments: 2
Patch Set 2 : keep removeBehaviorsRestrictionsAfterFirstUserGesture() #
Messages
Total messages: 6 (0 generated)
|