Do not enforce "content-disposition: attachment" sandbox restrictions on a MediaDocument. A MediaDocument can't come with scripts, but we need to be able to run script in the shadow DOM for the controls to function.
A layout test is proving difficult, filed bug 147735 for that.
Created attachment 258379 [details]
Comment on attachment 258379 [details]
Clearing flags on attachment: 258379
Committed r188051: <http://trac.webkit.org/changeset/188051>
All reviewed patches have been landed. Closing bug.
Re-opening, the initial fix was not quite right.
Created attachment 258395 [details]
Committed r188062: https://trac.webkit.org/r188062