• Robert Knight's avatar
    Wait for feature flag state before sending document info in VitalSource · f4a8a351
    Robert Knight authored
    In order to facilitate a seamless transition after a chapter navigation in
    VitalSource, it will be necessary for the Guest in the new frame to report
    document information based on the same `book_as_single_document` feature flag
    state as for the previous frame.
    
    Allow integrations to signal whether the Guest should wait to receive feature
    flags from the sidebar before sending document info via `documentInfoChanged`,
    and enable this for VitalSource. We don't enable this for all integrations
    because it adds latency on the critical path to fetching and displaying
    annotations.
    f4a8a351
Name
Last commit
Last update
..
annotator.ts Loading commit data...
api.ts Loading commit data...
config.js Loading commit data...
lodash.debounce.d.ts Loading commit data...
pdfjs.js Loading commit data...
port-rpc-events.d.ts Loading commit data...
process.d.ts Loading commit data...
rpc.js Loading commit data...
shared.ts Loading commit data...
sidebar.js Loading commit data...