Skip to content

Conversation

@lauromoura
Copy link

When thinking of upstreaming #863, I realized SpeechError could be replaced with an Optional<SpeechSynthesisErrorCode> to avoid duplicating the enum values.

Note: When upstreaming, WTF::Optional would be replaced with std::optional.

cc @asurdej-comcast

`SpeechError` had the same values as `SpeechSynthesisErrorCode` with the
addition of a `None` value, to sinalize whether we had an error code set
or not.

This commit replaces `SpeechError` with the use of
`WTF::Optional<SpeechSynthesisErrorCode>` to remove the duplicated
information from `SpeechError`.

Note: When upstreaming, `WTF::Optional` would be replaced with `std::optional`.
@lauromoura lauromoura added the wpe-2.28 Only for PR affecting 2.28 label Jun 6, 2022
@lauromoura lauromoura merged commit 0d1a7ae into WebPlatformForEmbedded:wpe-2.28 Jun 10, 2022
Scony added a commit to Scony/WPEWebKit that referenced this pull request Mar 21, 2023
- Add missing functions
- Add proper error handling (similar to WebPlatformForEmbedded#823 with optional as in WebPlatformForEmbedded#875) for both UIProcess and WebProcess
Scony added a commit to Scony/WPEWebKit that referenced this pull request Mar 21, 2023
- Add missing functions
- Add proper error handling (similar to WebPlatformForEmbedded#823 with optional as in WebPlatformForEmbedded#875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Sep 20, 2023
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Sep 29, 2023
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 23, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 23, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 23, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 23, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 24, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 25, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request Apr 30, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
pgorszkowski-igalia pushed a commit that referenced this pull request May 2, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Jun 19, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Sep 5, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Sep 11, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Sep 20, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Sep 26, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Oct 4, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Oct 8, 2024
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Sep 2, 2025
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Oct 7, 2025
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
magomez pushed a commit that referenced this pull request Oct 17, 2025
- Add missing functions
- Add proper error handling (similar to #823 with optional as in #875) for both UIProcess and WebProcess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wpe-2.28 Only for PR affecting 2.28

Development

Successfully merging this pull request may close these issues.

2 participants