Issue #2736 - Part 8: Re-work <video> and <audio> src attribute.

Use subject principal as triggering principal in <video>/<audio> "src"
attribute. We deviate from Mozilla here because we do not worry
about content isolation principals in Page Info.
This commit is contained in:
Moonchild 2025-04-29 21:28:50 +02:00 committed by roytam1
commit b6bdce6f98
3 changed files with 13 additions and 4 deletions

View file

@ -17,7 +17,7 @@ interface HTMLMediaElement : HTMLElement {
readonly attribute MediaError? error;
// network state
[CEReactions, SetterThrows]
[CEReactions, NeedsSubjectPrincipal, SetterThrows]
attribute DOMString src;
readonly attribute DOMString currentSrc;