You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the purpose of the "onvalidationstatuschange" event? It seems the purpose of the validation is to prevent clickjacking and it's not clear why the site should be informed about it.
If the goal is to help with debugging of invalid states this should be handled locally in the devtools and not exposed to content scripts.
We have received feedback from site authors where the permission flow is critical that they wish to be able to have a fallback behavior in case the permission element becomes unexpectedly invalid. While for local debugging dev tools would be sufficient, they can't test every possible configuration so there might be some edge cases where somehow the element becomes invalid and they will be stuck with a dead element and a bad UX.
This allows them to have a safe fallback plan and replace the permission element on-the-fly if needed.
Activity
andypaicu commentedon Jun 19, 2024
We have received feedback from site authors where the permission flow is critical that they wish to be able to have a fallback behavior in case the permission element becomes unexpectedly invalid. While for local debugging dev tools would be sufficient, they can't test every possible configuration so there might be some edge cases where somehow the element becomes invalid and they will be stuck with a dead element and a bad UX.
This allows them to have a safe fallback plan and replace the permission element on-the-fly if needed.