Bug 246620 - Messages send from iFrame not received by extension popup
Summary: Messages send from iFrame not received by extension popup
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Extensions (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-17 05:00 PDT by Carlos J.
Modified: 2024-04-23 06:52 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.