Bug 254193

Summary: Improve error handling for badging API
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: New BugsAssignee: Marcos Caceres <marcosc>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Marcos Caceres 2023-03-20 17:05:24 PDT
Right now, the badging API is rejecting without DOM exceptions. It would be nice if it rejected with DOM exceptions to give a better idea about what's gone wrong. 

Additionally, the current implementation doesn't handle errors for non-fully-active docs.
Comment 1 Radar WebKit Bug Importer 2023-03-20 17:08:56 PDT
<rdar://problem/106969959>
Comment 2 Marcos Caceres 2023-03-20 17:10:25 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11745
Comment 3 EWS 2023-03-28 15:23:04 PDT
Committed 262237@main (978ccadf6e0b): <https://commits.webkit.org/262237@main>

Reviewed commits have been landed. Closing PR #11745 and removing active labels.