• Sean Hammond's avatar
    Send search URIs to other frames by postMessage() · 9ea6b7d4
    Sean Hammond authored
    Add support for receiving postMessage() requests from other windows or
    frames and responding by sending the list of search URIs that the client
    is using for the current document to search the Hypothesis API for
    annotations.
    
    This can be used by our LTI app to get the search URIs when the student
    submits an assignment. The app needs the search URIs to later search the
    API for the student's annotations.
    9ea6b7d4
cross-origin-rpc.js 1.83 KB