WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
297831
Use Expected for errors in WebExtension
https://bugs.webkit.org/show_bug.cgi?id=297831
Summary
Use Expected for errors in WebExtension
Jamie Murphy
Reported
2025-08-23 16:32:59 PDT
Use Expected<bool, RefPtr<API::Error>> or the appropriate return type in WebExtension, dropping outError through the API. As well, make sure to passthrough the underlyingError when creating new API::Errors.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-08-23 16:33:06 PDT
<
rdar://problem/159028162
>
Jamie Murphy
Comment 2
2025-08-23 16:41:15 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/49820
EWS
Comment 3
2025-09-16 09:28:42 PDT
Committed
300035@main
(7a2430f73eb2): <
https://commits.webkit.org/300035@main
> Reviewed commits have been landed. Closing PR #49820 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug