From a0578972e3ed5ce7203fbe99559bed4b47310133 Mon Sep 17 00:00:00 2001 From: Evan Liu Date: Tue, 7 Jan 2025 15:09:14 -0800 Subject: [PATCH] Reland "Add WPT for Web Speech API events" This reverts commit b259ae00ad118c94e05fe99a5e963cda2e3c485c. Reason for revert: Fixing the on-error test Original change's description: > Revert "Add WPT for Web Speech API events" > > This reverts commit 6b9b281088f658531546eddf186fb5076aa442a4. > > Reason for revert: Step "chrome_wpt_tests (retry shards) on Windows-11" failing on builder "chromium/ci/win11-arm64-rel-tests" > > Example failing build: ci.chromium.org/ui/p/chromium/builders/ci/win11-arm64-rel-tests/3472/overview > > Original change's description: > > Add WPT for Web Speech API events > > > > This CL adds some basic web platform tests to ensure that the onstart, onend, and onerror events are fired for the Web Speech API. > > > > Change-Id: Ieeaab551b95b56503917e468f9ec33d857790dad > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6137598 > > Commit-Queue: Evan Liu > > Reviewed-by: Yiren Wang > > Cr-Commit-Position: refs/heads/main@{#1402727} > > Change-Id: I6073a364b704f0aa9df1d7ed38820b3ae5ba4d78 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6147490 > Bot-Commit: Rubber Stamper > Commit-Queue: Rubber Stamper > Auto-Submit: Joshua Hood > Cr-Commit-Position: refs/heads/main@{#1402940} Change-Id: If34212a75aa5ac4bddc33d13846409a815ec9ff4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6149075 Reviewed-by: Yiren Wang Commit-Queue: Evan Liu Cr-Commit-Position: refs/heads/main@{#1403265} --- .../SpeechRecognition-onerror.https.html | 26 ++++++++++++++ ...SpeechRecognition-onstart-onend.https.html | 36 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 speech-api/SpeechRecognition-onerror.https.html create mode 100644 speech-api/SpeechRecognition-onstart-onend.https.html diff --git a/speech-api/SpeechRecognition-onerror.https.html b/speech-api/SpeechRecognition-onerror.https.html new file mode 100644 index 00000000000000..0ded45d62dff81 --- /dev/null +++ b/speech-api/SpeechRecognition-onerror.https.html @@ -0,0 +1,26 @@ + +SpeechRecognition onerror event + + + diff --git a/speech-api/SpeechRecognition-onstart-onend.https.html b/speech-api/SpeechRecognition-onstart-onend.https.html new file mode 100644 index 00000000000000..a789b3d81ac9f8 --- /dev/null +++ b/speech-api/SpeechRecognition-onstart-onend.https.html @@ -0,0 +1,36 @@ + +SpeechRecognition onstart and onend events + + +