3 Replies
      Latest reply on Sep 23, 2019 7:27 AM by jw732
      jw732 Level 1 Level 1 (20 points)

        At this past WWDC, @bweinstein said this:

         

        "Safari now injects the safari javascript object to any frames loaded with content from your extension, meaning those frames can send message to the Safari App Extension and receive messages from it"

         

        Link to video, go to 10:50

         

        However, when I successfully load a bundled html file from the contents of my extension, I am not able to communicate with the safari javascript object to send and recieve messages from my Safari App Extension. I am on testing this on Safari 12.1.2. I am attempting to communicate with the safari javascript object as I would from a content script, ex. `safari.extension.dispatchMessage("Hello World!");`

         

        Is this a bug, can anyone give me some insight here?