DescriptionMove setMediaPlaybackRequiresUserGesture to the cross-origin frame.
Before this CL the http/tests/webaudio/autoplay-crossorigin.html layout
test would fail if the main frame and the cross-origin frame are in
different renderer processes. After this CL, the internal settings are
set from the same frame that hosts AudioContext object - this ensures
that setting the settings and getting the settings happens from the same
renderer process (and consequently ensures that the test passes both
with and without --site-per-process flag).
BUG=652366
Committed: https://crrev.com/f33a8c06201766c37344768aaf99846f78857ff3
Cr-Commit-Position: refs/heads/master@{#422746}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|