Bug 254193 - Improve error handling for badging API
Summary: Improve error handling for badging API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Marcos Caceres
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-20 17:05 PDT by Marcos Caceres
Modified: 2023-03-28 15:23 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.