mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Changed return value of GetActiveCues
Return an empty TextTrackCueList rather than Some. Added previously removed comments.
This commit is contained in:
parent
81ab255b70
commit
df1119b7cb
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ impl TextTrackMethods for TextTrack {
|
||||||
fn GetActiveCues(&self) -> Option<DomRoot<TextTrackCueList>> {
|
fn GetActiveCues(&self) -> Option<DomRoot<TextTrackCueList>> {
|
||||||
// XXX implement active cues logic
|
// XXX implement active cues logic
|
||||||
// https://github.com/servo/servo/issues/22314
|
// https://github.com/servo/servo/issues/22314
|
||||||
None
|
Some(TextTrackCueList::new(&self.global().as_window(), &[]))
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-texttrack-addcue
|
// https://html.spec.whatwg.org/multipage/#dom-texttrack-addcue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue