• Robert Knight's avatar
    Call PortProvider.listen sooner · 8983aba1
    Robert Knight authored
    Call `listen` immediately after creating the PortProvider, before
    creating the sidebar.
    
    This will allow us to rule out the possibility that the sidebar sometimes fails
    to connect to the PortProvider because an error occurred in the annotator code
    after creating the sidebar iframe but before calling `PortProvider.listen`,
    resulting in the PortProvider listener not being created.
    8983aba1
index.js 3.18 KB