Skip to content

Intermittent TIMEOUT [expected CRASH] in /html/semantics/embedded-content/media-elements/preserves-pitch.html (WebDriver) #40352

Closed

Description

@mrobinson
    TIMEOUT [expected CRASH] /html/semantics/embedded-content/media-elements/preserves-pitch.html
        FAIL [expected PASS] subtest: Test that preservesPitch is present and unprefixed.

        assert_true: expected true got false

        FAIL [expected PASS] subtest: Test that preservesPitch is on by default

        assert_true: expected true got undefined

        TIMEOUT [expected PASS] subtest: Setup Audio element and AudioContext

        Test timed out

        NOTRUN [expected PASS] subtest: The default playbackRate should not affect pitch
        NOTRUN [expected PASS] subtest: The default playbackRate should not affect pitch, even with preservesPitch=false
        NOTRUN [expected PASS] subtest: Speed-ups should not change the pitch when preservesPitch=true
        NOTRUN [expected PASS] subtest: Slow-downs should not change the pitch when preservesPitch=true
        NOTRUN [expected PASS] subtest: Speed-ups should change the pitch when preservesPitch=false
        NOTRUN [expected PASS] subtest: Slow-downs should change the pitch when preservesPitch=false

Activity

  1. tharkum commented on Nov 20, 2025

    @tharkum
    Contributor

    The following pull request servo/media#462 fixed the CRASH for this test, but the expected test results not was changed during merging into the upstream.

    Need to update the expected results and check later if WebDriver issue (TIMEOUT) still exist

    ./mach test-wpt tests/wpt/tests/html/semantics/embedded-content/media-elements/preserves-pitch.html -r --log-mach=-

    Unexpected Results
    ------------------
    /html/semantics/embedded-content/media-elements/preserves-pitch.html
      FAIL Test that preservesPitch is present and unprefixed. - assert_true: expected true got false
      FAIL Test that preservesPitch is on by default - assert_true: expected true got undefined
      FAIL The default playbackRate should not affect pitch, even with preservesPitch=false - assert_approx_equals: The actual pitch should be close to the expected pitch. expected 440 +/- 66 but got 0
      FAIL Speed-ups should change the pitch when preservesPitch=false - assert_approx_equals: The actual pitch should be close to the expected pitch. expected 880 +/- 132 but got 431.0850439882698
      FAIL Slow-downs should change the pitch when preservesPitch=false - assert_approx_equals: The actual pitch should be close to the expected pitch. expected 220 +/- 33 but got 0
    
      UNEXPECTED-OK /html/semantics/embedded-content/media-elements/preserves-pitch.html
    
  2. added
    E-less-complexStraightforward. Recommended for a new contributor.
    on Nov 20, 2025
  3. tharkum commented on Nov 20, 2025

    @tharkum
    Contributor

    Possible TIMEOUT (WebDriver) issue due to the following code

        // The first time we run the test, we need to interact with the
        // AudioContext and Audio element via user gestures.
        await test_driver.bless("Play audio element", () => {
            return Promise.all([audio.play(), detector.ensureStart()]);
        });
    

    @yezhizhen < Did any fix for test_driver.bless was applied?

  4. removed
    E-less-complexStraightforward. Recommended for a new contributor.
    on Nov 25, 2025
  5. TimvdLippe commented on Oct 2, 2026

    @TimvdLippe
    Contributor

    Closing as stale as this issue has not received any failure references for over a month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-intermittentProblem reproduces intermittently.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions