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.
rdar://problem/22028179
Created attachment 258379 [details] Proposed patch
Comment on attachment 258379 [details] Proposed patch 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] Proposed patch
Committed r188062: https://trac.webkit.org/r188062