After implemented RWS, still get prompt
state and need user gesture
to get permission?
#175
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @lqw1111, thanks for testing this!
This isn't quite how it works. RWS just allows Chrome to avoid having to show a storage access permission prompt in some cases; it doesn't preemptively grant storage access to the sites within the RWS. So in other words, I would expect the flow to look like:
Can you confirm that that kind of flow works when you test it? In the screenshot you provided, it looks like the iframe didn't wait for a user gesture before requesting storage access (given the One other note - I'm guessing that the code snippet you gave is pseudocode (and isn't literally what your script executes), given the calls to |
Beta Was this translation helpful? Give feedback.
Hi @lqw1111, thanks for testing this!
This isn't quite how it works. RWS just allows Chrome to avoid having to show a storage access permission prompt in some cases; it doesn't preemptively grant storage access to the sites within the RWS. So in other words, I would expect the flow to look like:
web.com
page withiframe.com
iframe.storage-access
permission.granted
, the iframe immediately callsd…