Closed Bug 1786982 Opened 2 years ago Closed 2 years ago

Intermittent \testing/web-platform/tests\html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html | single tracking bug

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox104 --- unaffected
firefox105 --- fixed
firefox106 --- fixed

People

(Reporter: jmaher, Assigned: emilio)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell needswork:owner], [wptsync upstream])

Attachments

(2 files)

No description provided.

Additional information about this bug failures and frequency patterns can be found by running: ./mach test-info failure-report --bug 1786982

All failures here look related to Bug 1595491.

Failure log example: https://treeherder.mozilla.org/logviewer?job_id=388402692&repo=mozilla-central&lineNumber=4461

[task 2022-08-24T22:20:40.680Z] 22:20:40     INFO - TEST-PASS | /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/picture-aspect-ratio.html | Loaded picture test: Both <source> and <img> are with width and height attributes 
[task 2022-08-24T22:20:40.680Z] 22:20:40     INFO - TEST-UNEXPECTED-FAIL | /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html | Video width and height attributes are not used to infer aspect-ratio - assert_approx_equals: expected 1 +/- 0.001 but got 2.5
[task 2022-08-24T22:20:40.680Z] 22:20:40     INFO - assert_ratio@http://web-platform.test:8000/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html:20:23
[task 2022-08-24T22:20:40.680Z] 22:20:40     INFO - video.onloadeddata<@http://web-platform.test:8000/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html:46:17
[task 2022-08-24T22:20:40.680Z] 22:20:40     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2590:25
[task 2022-08-24T22:20:40.680Z] 22:20:40     INFO - Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2665:32
[task 2022-08-24T22:20:40.785Z] 22:20:40     INFO - TEST-OK | /html/rendering/replaced-elements/attributes-for-embedded-content-and-images/video-aspect-ratio.html | took 823ms

:sefeng, can you take a look please?
Thank you.

Flags: needinfo?(sefeng)

Looking it now

Attached patch repro.patchSplinter Review

I think this is regressed by bug 1783069.

I didn't find the root cause, looks like "loadeddata" was fired before the VideoElement gets the video? With the attached patch this should be reproducible reliably on not only mobile but also desktop.

Assignee: nobody → sefeng
Flags: needinfo?(sefeng) → needinfo?(emilio)
Regressed by: 1783069

Set release status flags based on info from the regressing bug 1783069

D'oh, yeah, the test is just broken.

Flags: needinfo?(emilio)

The test was broken, had multiple calls to t.done(), etc.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/773b34cdfeb7
Fix video-aspect-ratio.html. r=sefeng
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/35762 for changes under testing/web-platform/tests
Whiteboard: [stockwell needswork:owner] → [stockwell needswork:owner], [wptsync upstream]
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch

The patch landed in nightly and beta is affected.
:sefeng, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox105 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(sefeng)
Flags: needinfo?(sefeng)
Upstream PR merged by moz-wptsync-bot

I shouldn't be assigned

Assignee: sefeng → emilio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: