[Webkit-unassigned] [Bug 221399] DeviceMotionEvent.requestPermission is not a function in iframe-hosted cross-origin pages, even with feature policy and allow attributes set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 11 09:43:36 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221399

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
(In reply to Will Morgan from comment #4)
> (In reply to Chris Dumez from comment #3)
> > WebKit does not allow the use of the device motion API at all in third-party
> > iframes so exposing the permission API there did not make sense.
> 
> If that is the position that has been taken, why does
> DeviceMotionEvent.requestPermission exist but simply do nothing?

Do nothing? As far as I can tell, we are resolving the promise with state="denied".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210211/c58b549c/attachment.htm>


More information about the webkit-unassigned mailing list