The pull request branch for bug 1942220 includes an implementation of the warning requested in comment 6. That branch also contains patches for bug 1981714 that introduce relevant settings.
The pull request branch for bug 1942220 includes an implementation of the warning requested in comment 6. That branch also contains patches for bug 1981714 that introduce relevant settings.