Bug 232116

Summary: WKErrorRef.h does't have some error definitions
Product: WebKit Reporter: Takashi Komori <takashi.komori>
Component: WebKit APIAssignee: Takashi Komori <takashi.komori>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, Basuke.Suzuki, chris.reid, don.olmstead, Hironori.Fujii, ross.kirsling, stephan.szabo, takashi.komori, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>