• Robert Knight's avatar
    Add module for fetching config from ancestor frames · b2df9cd7
    Robert Knight authored
    Implement `fetchConfig` function which fetches config from the host page
    / embedding web app and merges it with config rendered into the sidebar
    HTML page.
    
    This function supports a new method of fetching config from the embedder
    by performing a "requestSidebarConfig" RPC call to the origin set with
    the "requestSidebarConfigFromFrameWithOrigin" setting. That setting must
    itself by set in the page where the embed.js script is loaded.
    
    Also extract the `assertPromiseIsRejected` helper into `promise-util.js`
    for re-use and add a note about needing to return the result.
    b2df9cd7
Name
Last commit
Last update
..
test Loading commit data...
account-id.js Loading commit data...
array-util.js Loading commit data...
date.js Loading commit data...
disable-opener-for-external-links.js Loading commit data...
excerpt-overflow-monitor.js Loading commit data...
fetch-config.js Loading commit data...
group-organizations.js Loading commit data...
is-third-party-service.js Loading commit data...
memoize.js Loading commit data...
oauth-client.js Loading commit data...
postmessage-json-rpc.js Loading commit data...
random.js Loading commit data...
retry.js Loading commit data...
scope-timeout.js Loading commit data...
session-util.js Loading commit data...
state-util.js Loading commit data...
time.js Loading commit data...
url-util.js Loading commit data...