Closed Bug 1794945 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36424 - Revert "Report the time of a video's first displayed frame for LCP"

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox108 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 36424 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/36424
Details from upstream follow.

Dana Fried <dfried@google.com> wrote:

Revert "Report the time of a video's first displayed frame for LCP"

This reverts commit ba1da51a29d331b40e90cbed08c2a379e96dacc1.

Reason for revert: Test is failing on a number of builders.
Bug: 1373981
Owners-Override: Dana Fried \<dfried@google.com>

Original change's description:

Report the time of a video's first displayed frame for LCP

This CL plumbs the information needed to capture LCP from videos
into Video timing information for LCP into the HTMLVideoElement, from
where it is sent to the PaintTimingDetector when the initial frame is
displayed.

Video byte size is taken from the WebMediaPlayer's PipelineStatistics,
while the result of the Timing-Allow-Origin check goes through URLIndex,
in the same manner as CORS checks.

Bug: 1289664
Change-Id: I9e8ed63a2913d5dc70b0f1b2bf9f928db4f1b908
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3814106
Commit-Queue: Ian Clelland \<iclelland@chromium.org>
Reviewed-by: Yoav Weiss \<yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1058088}

Bug: 1289664
Change-Id: I1be173c71d5e39c333ca61a9c8c9b73f28b598af
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3949734
Commit-Queue: Dana Fried \<dfried@google.com>
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Dana Fried \<dfried@google.com>
Reviewed-by: Ian Clelland \<iclelland@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1058179}

PR 36424 applied with additional changes from upstream: e7d2b67bdff36e4fa5dac08ef106b2235b167294

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 32 tests and 1 subtests

Status Summary

Firefox

OK : 30
FAIL : 30
ERROR: 2

Chrome

OK : 32
PASS : 31
FAIL : 10

Safari

OK : 30
FAIL : 30
ERROR: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1293551320f2 [wpt PR 36424] - Revert "Report the time of a video's first displayed frame for LCP", a=testonly https://hg.mozilla.org/integration/autoland/rev/b39605158488 [wpt PR 36424] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.