The patch should be checking for MOZ_ASAN rather than ASAN.
Bug 1776767 Comment 101 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The patch should be checking for MOZ_ASAN rather than ASAN. Fixing that makes CDMStorageForgetThisSite start failing, though.