mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove some fixed fixmes (#33824)
Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
f0285fc7e5
commit
ded518dfd0
2 changed files with 4 additions and 7 deletions
|
@ -1075,14 +1075,12 @@ impl HTMLMediaElement {
|
||||||
self.error.get().is_some()
|
self.error.get().is_some()
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#potentially-playing
|
/// <https://html.spec.whatwg.org/multipage/#potentially-playing>
|
||||||
fn is_potentially_playing(&self) -> bool {
|
fn is_potentially_playing(&self) -> bool {
|
||||||
!self.paused.get() &&
|
!self.paused.get() &&
|
||||||
// FIXME: We need https://github.com/servo/servo/pull/22348
|
!self.Ended() &&
|
||||||
// to know whether playback has ended or not
|
self.error.get().is_none() &&
|
||||||
// !self.Ended() &&
|
!self.is_blocked_media_element()
|
||||||
self.error.get().is_none() &&
|
|
||||||
!self.is_blocked_media_element()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#blocked-media-element
|
// https://html.spec.whatwg.org/multipage/#blocked-media-element
|
||||||
|
|
|
@ -14,7 +14,6 @@ interface ServiceWorker : EventTarget {
|
||||||
attribute EventHandler onstatechange;
|
attribute EventHandler onstatechange;
|
||||||
};
|
};
|
||||||
|
|
||||||
// FIXME: use `includes` instead of `implements` after #22539 is fixed.
|
|
||||||
ServiceWorker includes AbstractWorker;
|
ServiceWorker includes AbstractWorker;
|
||||||
|
|
||||||
enum ServiceWorkerState {
|
enum ServiceWorkerState {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue