Bug 261460 - Running WPT for WebVTT in run-webkit-tests results in a timeout
Summary: Running WPT for WebVTT in run-webkit-tests results in a timeout
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-12 00:45 PDT by Kueno
Modified: 2023-09-17 19:08 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kueno 2023-09-12 00:45:00 PDT
As reported in https://bugs.webkit.org/show_bug.cgi?id=179370#c2, running WPT for WebVTT in run-webkit-tests results in a timeout. This is due to the caption mode of WebKitTestRunner being defaulted to `ForceOnly`, under which conditions the captions never appear. This is not a problem for LayoutTests other than WPT because we can adjust the caption mode with `window.internals.setCaptionDisplayMode('Automatic')` to ensure correct caption display during testing.

To resolve this issue, we need to make the caption mode configurable in run-webkit-tests instead of using the internal method in the window object.
Comment 1 Kueno 2023-09-12 00:46:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17689
Comment 2 EWS 2023-09-17 19:07:43 PDT
Committed 268073@main (2e6a6bb78167): <https://commits.webkit.org/268073@main>

Reviewed commits have been landed. Closing PR #17689 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-17 19:08:15 PDT
<rdar://problem/115635936>