Bug 246620

Summary: Messages send from iFrame not received by extension popup
Product: WebKit Reporter: Carlos J. <carlosj-webkit-bugzilla>
Component: WebKit ExtensionsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos J. 2022-10-17 05:00:33 PDT
Try to send a message from an iframe running a contentscript to the extension page containing the iFrame. 

Sample extension:
https://github.com/carlosjeurissen/webext-tech-demo-extensions/tree/main/issues/safari-9637664-messaging-api-from-content-script-frame

If it works (like in Google Chrome), the text of the extension page should change to "success".
Comment 2 Alexey Proskuryakov 2022-10-17 10:26:46 PDT
rdar://83280648
Comment 3 Carlos J. 2024-04-23 06:52:38 PDT
Just tested in Safari Technology Preview 192, and the issue persists.