Bug 302522

Summary: REGRESSION (iOS 26): Motion and orientation events never dispatched in iframes even after granting permission with user gesture from within the iframe
Product: WebKit Reporter: Josselin Guillozet <josselin.guillozet>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Blocker CC: ap, cdumez, marcosc
Priority: P1    
Version: Safari 26   
Hardware: iPhone / iPad   
OS: iOS 26   
Attachments:
Description Flags
Basic web pages to test iframe and motion/orientation events. none

Josselin Guillozet
Reported 2025-11-14 02:47:00 PST
Created attachment 477393 [details] Basic web pages to test iframe and motion/orientation events. I think the regression has been discussed already in https://bugs.webkit.org/show_bug.cgi?id=301294 but the title of that report is a bit misleading. Motion and orientation events are never dispatched in iframes even after granting permission behind user gesture from within the iframed page. The parent page is configured with `allow="accelerometer; gyroscope; magnetometer;"`. It only works if the parent page and the iframed page are hosted on the same domain.
Attachments
Basic web pages to test iframe and motion/orientation events. (4.05 KB, application/zip)
2025-11-14 02:47 PST, Josselin Guillozet
no flags
Alexey Proskuryakov
Comment 1 2025-11-14 09:14:46 PST
Thank you for the report! I'll rely on your analysis of this being the same issue, but also CC'ing experts to double check. *** This bug has been marked as a duplicate of bug 301751 ***
Note You need to log in before you can comment on or make changes to this bug.