[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•5 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
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15f3eb253153 enable wpt 'track-text-track-cue-list.html' r=jib
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17058 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Comment 5•5 years ago
|
||
bugherder |
Upstream PR merged
Description
•