Make safeMsg
a module instead of a function parameter
#7377
Labels
scope: addon api
Related to the addon.* JS APIs or other ways for addons to provide features
scope: addon
Related to one or multiple addons
scope: core
Related to the core script/extension workings
type: enhancement
New feature for the project
Milestone
We would no longer do this.
Instead. we would do this:
The idea is that the module that exposes
safeMsgBuilder
should clearly show the escaping logic. This may help extension store reviewers determine that our safeMsg function is actually safe.The text was updated successfully, but these errors were encountered: