[webvtt] enable wpt 'track-text-track-cue-list.html'
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The failure reason of this wpt is that we used the wrong comparion.
For getter, it will return undefined [1] when we can't get the element. We should use assert_equals because undefined is not an object.
For getCueById, it will return null [2] when we can't get the element. We should use assert_equals because null is not an object.
[1] https://heycam.github.io/webidl/#dfn-attribute-getter
[2] https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcuelist-getcuebyid
| Assignee | ||
Comment 1•6 years ago
|
||
For getter, it will return undefined [1] when we can't get the element. We should use assert_equals because undefined is not an object.
For getCueById, it will return null [2] when we can't get the element. We should use assert_equals because null is not an object.
[1] https://heycam.github.io/webidl/#dfn-attribute-getter
[2] https://html.spec.whatwg.org/multipage/media.html#dom-texttrackcuelist-getcuebyid
Comment 5•6 years ago
|
||
| bugherder | ||
Description
•