Closed Bug 2068853 Opened 2 months ago Closed 1 day ago

Perma backlog /speech-api/SpeechRecognition-onerror.https.html | Speech recognition onerror event is called. - promise_test: Unhandled rejection with value: object "TypeError: SpeechRecognition is not a constructor" | single tracking bug

Categories

(Core :: Web Speech, defect, P5)

defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- unaffected
firefox155 --- unaffected
firefox156 --- unaffected
firefox157 --- affected
firefox158 --- affected

People

(Reporter: intermittent-bug-filer, Assigned: padenot)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [collect_confirm_failure])

Attachments

(1 obsolete file)

Filed by: amarc [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=589908287&repo=mozilla-central&task=IqubhIkPQxCTNUKDQgAQyg.0
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IqubhIkPQxCTNUKDQgAQyg/runs/0/artifacts/public/logs/live_backing.log


[task 2026-09-03T06:08:22.315+00:00] 06:08:22     INFO - TEST-START | /speech-api/SpeechRecognition-onerror.https.html
[task 2026-09-03T06:08:22.382+00:00] 06:08:22     INFO - Setting pref layout.disable-pixel-alignment to true
[task 2026-09-03T06:08:22.424+00:00] 06:08:22     INFO - Setting pref network.dns.disableIPv6 to true
[task 2026-09-03T06:08:22.449+00:00] 06:08:22     INFO - Setting pref layout.css.tree-counting-functions.enabled to true
[task 2026-09-03T06:08:22.480+00:00] 06:08:22     INFO - Setting pref layout.css.supports.at-rule.enabled to true
[task 2026-09-03T06:08:22.501+00:00] 06:08:22     INFO - Setting pref layout.css.calc-typed-arithmetic.enabled to true
[task 2026-09-03T06:08:22.523+00:00] 06:08:22     INFO - Setting pref dom.forms.html_color_picker.enabled to true
[task 2026-09-03T06:08:22.544+00:00] 06:08:22     INFO - Setting pref media.webspeech.recognition.enable to true
[task 2026-09-03T06:08:22.561+00:00] 06:08:22     INFO - Setting pref browser.ml.modelHub.testing to true
[task 2026-09-03T06:08:22.577+00:00] 06:08:22     INFO - Setting pref media.webspeech.recognition.model-download.prompt.testing to true
[task 2026-09-03T06:08:22.595+00:00] 06:08:22     INFO - Setting pref media.navigator.permission.disabled to true
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - 
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/request-headers.https.html | Navigation Preload request headers.
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/resource-timing.https.html | Navigation Preload Resource Timing.
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/samesite-cookies.https.html | Set up a service worker for navigation preload tests.
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/samesite-cookies.https.html | Navigation Preload for same site cookies (None).
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/samesite-cookies.https.html | Navigation Preload for same site cookies (Strict).
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/samesite-cookies.https.html | Navigation Preload for same site cookies (Lax).
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/samesite-cookies.https.html | Unregister a service worker.
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-PASS | /service-workers/service-worker/navigation-preload/samesite-iframe.https.html | Navigation Preload for same site iframe
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-TIMEOUT | /speculation-rules/inline-speculation-rules-errors.html | A script with invalid JSON should fire error events on the element and window - Test timed out
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-TIMEOUT | /speculation-rules/prerender/csp-form-action.https.html | Prerender initial navigation with form_submission is blocked by CSP form-action 'none' - Test timed out
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-UNEXPECTED-FAIL | /speech-api/SpeechRecognition-onerror.https.html | Speech recognition onerror event is called. - promise_test: Unhandled rejection with value: object "TypeError: SpeechRecognition is not a constructor"
[task 2026-09-03T06:08:23.468+00:00] 06:08:23     INFO - TEST-INFO | expected TIMEOUT
[task 2026-09-03T06:08:23.725+00:00] 06:08:23     INFO - TEST-UNEXPECTED-OK | /speech-api/SpeechRecognition-onerror.https.html | expected TIMEOUT
[task 2026-09-03T06:08:23.725+00:00] 06:08:23     INFO - TEST-INFO expected TIMEOUT | took 1411ms
[task 2026-09-03T06:08:23.726+00:00] 06:08:23     INFO - Restarting browser for new test group
[task 2026-09-03T06:08:24.254+00:00] 06:08:24     INFO - Closing logging queue
[task 2026-09-03T06:08:24.254+00:00] 06:08:24     INFO - queue closed
[task 2026-09-03T06:08:24.257+00:00] 06:08:24     INFO - STDOUT: cleanup aborted: args: /builds/worker/fetches/android-sdk-linux/platform-tools/adb wait-for-device remount, exitcode: 1, stdout: Device must be bootloader unlocked
[task 2026-09-03T06:08:24.277+00:00] 06:08:24     INFO - Setting up ssl
[task 2026-09-03T06:08:24.328+00:00] 06:08:24     INFO - certutil | b''
[task 2026-09-03T06:08:24.392+00:00] 06:08:24     INFO - certutil | b''
[task 2026-09-03T06:08:24.436+00:00] 06:08:24     INFO - certutil | b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
[task 2026-09-03T06:08:26.004+00:00] 06:08:26     INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test_runner
[task 2026-09-03T06:08:26.220+00:00] 06:08:26     INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.TestRunnerActivity -a android.intent.action.MAIN --es env0 MOZ_CRASHREPORTER=1 --es env1 MOZ_CRASHREPORTER_NO_REPORT=1 --es env2 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env4 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:3,jsep:4 --es env6 R_LOG_LEVEL=6 --es env7 R_LOG_DESTINATION=stderr --es env8 R_LOG_VERBOSE=1 --es env9 MOZ_PROCESS_LOG=/tmp/tmpzwvf8kmtpidlog --es env10 MINIDUMP_SAVE_PATH=/builds/worker/workspace/build/blobber_upload_dir --es env11 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es arg0 -no-remote --es arg1 -profile --es arg2 /data/local/tmp/test_root/profile --es arg3 --marionette --es arg4 --remote-allow-system-access --es arg5 about:blank
[task 2026-09-03T06:08:29.086+00:00] 06:08:29     INFO - Starting runner
[task 2026-09-03T06:08:30.902+00:00] 06:08:30     INFO - TEST-START | /storage-access-api/requestStorageAccess-sandboxed-iframe-no-storage-access.sub.https.window.html
Flags: needinfo?(padenot)
Keywords: regression
Regressed by: webspeechondevice

Can you fix this WPT expectation? Web Speech isn't supposed to be enabled on Android yet.

Flags: needinfo?(padenot) → needinfo?(hackbot)
Flags: needinfo?(hackbot)

The speech recognition backend (mudler/parakeet.cpp, backends/llama) isn't
built on Android, so dom/webidl/moz.build does not export SpeechRecognition.webidl
there. new SpeechRecognition() therefore throws "TypeError: SpeechRecognition is
not a constructor", the promise_test rejects immediately, and the test finishes
OK/FAIL instead of the expected TIMEOUT - a perma-fail on Android.

The four sibling tests that also construct a SpeechRecognition
(SpeechRecognition-basics, -onstart-onend, -availableOnDevice, -installOnDevice)
are already disabled on Android with exactly this annotation; onerror was simply
missed. Add the same key, leaving the existing desktop TIMEOUT expectations
untouched.

SpeechRecognition-detached-iframe.window.js is deliberately left alone: on Android
its first subtest still passes (the constructor really is absent) and the second
already expects FAIL, so it is not orange.

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

Assignee: nobody → padenot
Attachment #9635753 - Attachment description: Bug 2068853 - Disable SpeechRecognition-onerror.https.html on Android, where SpeechRecognition is not built. r=padenot → Bug 2068853 - Disable SpeechRecognition-onerror.https.html on Android, where SpeechRecognition is not built. r=#media-playback-reviewers
Status: NEW → ASSIGNED

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

Flags: needinfo?(padenot)
Flags: needinfo?(alwu)
Flags: needinfo?(padenot)
Flags: needinfo?(alwu)
Attachment #9635753 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 1 day ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: