Commit f3607e1
committed
[iOS] fast/mediasession/metadata/artworkdownload.html is a flaky text failure
rdar://175302325
https://bugs.webkit.org/show_bug.cgi?id=312949
Reviewed by Anne van Kesteren.
The first promise_test calls internals.loadArtworkImage() which returns a VideoFrame. The
test inspects codedWidth and codedHeight but never calls data.close(). Thus, WebKit emits a
console warning when a VideoFrame is garbage-collected without being closed, which causes a
text mismatch. Per the WebCodecs spec, VideoFrame objects should be explicitly closed to release
underlying media resources.
Files changed (1):
- artworkdownload.html: Add data.close to explicitly release VideoFrame resources.
* LayoutTests/fast/mediasession/metadata/artworkdownload.html:
* LayoutTests/platform/ios/TestExpectations:
Canonical link: https://commits.webkit.org/311886@main1 parent 1b1e4d0 commit f3607e1
2 files changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8523 | 8523 | | |
8524 | 8524 | | |
8525 | 8525 | | |
8526 | | - | |
8527 | | - | |
8528 | 8526 | | |
8529 | 8527 | | |
8530 | 8528 | | |
| |||
0 commit comments