Bug 297831

Summary: Use Expected for errors in WebExtension
Product: WebKit Reporter: Jamie Murphy <jmurphy>
Component: WebKit ExtensionsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Radar WebKit Bug Importer
Comment 1 2025-08-23 16:33:06 PDT
Jamie Murphy
Comment 2 2025-08-23 16:41:15 PDT
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.