[Web Install] Should install_sources
be allowed_install_sources
?
#781
Labels
Web Install API
Declarative install for web apps from a web app.
install_sources
be allowed_install_sources
?
#781
This doesn't propose any functional changes to the API, but for the sake of clarity and future proofing the API, should
install_sources
be renamed toallowed_install_sources
?This improves clarity by showing that
allowed_install_sources
would behave the same way regardless of whetherallow_all_install_sources
is set to true, false, or is unset. Initially I thought thatinstall_sources
may function as a block list ifallow_all_install_sources
were set to true.Additionally, it helps to future-proof the API if there is developer feedback that a list of blocked install sources is valuable (e.g. a developer wants to allow all origins to install their app except for a known malicious/questionable origin). Currently there is no signal that this is valuable, but switching to
allowed_install_sources
would help balance the potentialblocked_install_sources
if it were added in the future.cc: @diekus @HowardWolosky @Kbhlee2121
The text was updated successfully, but these errors were encountered: