You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our IFrame brick can embed directly, or introduce a layer of indirection to workaround host-page CSP constraints
IFrame must have "name" field for AA Copilot to message
Need to use querySelector to get the frame, can't use name
There appears to be a 30-40ms window in which the host page must respond to the data request message. So the information needs to be available in the parent frame to immediately respond
Implementation Sketch
Add name field affordance to IFrame brick
Create a "Set AA Copilot Process Data" brick:
Given a process id, sets the data for the process
Messages our sidebar.html and frame.html tiny page to set the data
Add logic to sidebar.html and frame.html to listen for the AA Copilot message and respond with the host data if set
The text was updated successfully, but these errors were encountered:
…7109)
* [WIP] AA co-pilot data
* Pass all data to the frame parent
* Fix messenging to frame
* Force running in top level frame
* Get data from top-level content script on frame load
* Improve filename
* Fix promise callsites
* Fix acronym
* Make ID and acryonym
* Add link to dicussion
Considerations
Implementation Sketch
name
field affordance to IFrame brickThe text was updated successfully, but these errors were encountered: