Bug 232116 - WKErrorRef.h does't have some error definitions
Summary: WKErrorRef.h does't have some error definitions
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Takashi Komori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-21 16:47 PDT by Takashi Komori
Modified: 2021-10-22 11:23 PDT (History)
9 users (show)

See Also:


Attachments
Patch (2.29 KB, patch)
2021-10-21 17:20 PDT, Takashi Komori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Takashi Komori 2021-10-21 16:47:51 PDT
We can get error code by using WKErrorGetErrorCode() from WKErrorRef but some error definitions don't exist in WKErrorRef.h
Therefore, UIProcess has to handle such errors only by number and it is inconvenient.
In this ticket, we add error definitions which exist in APIErrors.h but doesn't exist in WKErrorRef.h
Comment 1 Takashi Komori 2021-10-21 17:20:53 PDT
Created attachment 442094 [details]
Patch
Comment 2 EWS 2021-10-22 11:22:28 PDT
Committed r284698 (243415@main): <https://commits.webkit.org/243415@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442094 [details].
Comment 3 Radar WebKit Bug Importer 2021-10-22 11:23:20 PDT
<rdar://problem/84556807>