See spec: https://w3c.github.io/speech-api/#speechsynthesiserrorevent
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb commit e743aab0046cdb15f7b1b5b837ebfad1a06f42cb Author: Charlie Harrison <csharrison@chromium.org> Date: Fri Sep 28 17:13:33 2018 Add SpeechSynthesisErrorEvent IDL interface See spec: https://w3c.github.io/speech-api/#speechsynthesiserrorevent and discussion on i2s on blink-dev: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/8_H3FUZm23g Previously, errors were just going through as SpeechSynthesisEvents. This CL now dispatches errors as SpeechSynthesisErrorEvents with an empty "error" method. This CL also adds constructors on both SpeechSynthesisEvent and SpeechSynthesisErrorEvent. Bug: 885297 Change-Id: I70ba998182943a50e17f2fc11eb7e163d8289e94 Reviewed-on: https://chromium-review.googlesource.com/1231839 Commit-Queue: Charlie Harrison <csharrison@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#595128} [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/external/wpt/interfaces/speech-api.idl [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/external/wpt/speech-api/SpeechSynthesis-speak-without-activation-fails.tentative.html [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/external/wpt/speech-api/SpeechSynthesisErrorEvent-constructor.html [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/external/wpt/speech-api/SpeechSynthesisEvent-constructor.html [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/external/wpt/speech-api/idlharness.window-expected.txt [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-expected.txt [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/bindings/modules/BUILD.gn [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/modules_idl_files.gni [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/BUILD.gn [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis.cc [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis.h [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_error_event.cc [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_error_event.h [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_error_event.idl [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_error_event_init.idl [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_event.cc [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_event.h [modify] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_event.idl [add] https://crrev.com/e743aab0046cdb15f7b1b5b837ebfad1a06f42cb/third_party/blink/renderer/modules/speech/speech_synthesis_event_init.idl
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/589e483bd562efe06b1bda986be07012907702bb commit 589e483bd562efe06b1bda986be07012907702bb Author: Charlie Harrison <csharrison@chromium.org> Date: Mon Oct 01 20:07:05 2018 Add spec links to speech idls TBR=haraken@chromium.org Bug: 885297 Change-Id: Ic7a6df89b771062e3327736fec64aff3d124286f Reviewed-on: https://chromium-review.googlesource.com/1254322 Reviewed-by: Charlie Harrison <csharrison@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#595533} [modify] https://crrev.com/589e483bd562efe06b1bda986be07012907702bb/third_party/blink/renderer/modules/speech/speech_synthesis_error_event.idl [modify] https://crrev.com/589e483bd562efe06b1bda986be07012907702bb/third_party/blink/renderer/modules/speech/speech_synthesis_error_event_init.idl [modify] https://crrev.com/589e483bd562efe06b1bda986be07012907702bb/third_party/blink/renderer/modules/speech/speech_synthesis_event_init.idl
Comment 1 by bugdroid1@chromium.org
, Sep 28