document.requestStorageAccess() may not be called in a sandboxed iframe without allow-storage-access-by-user-activation in its sandbox attribute.
Nid oes modd galw document.requestStorageAccess() ar ddogfen mewn iframe blwch tywod heb allow-same-origin yn ei briodweddau blwch tywod.