• 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
..
components Loading commit data...
directive Loading commit data...
filter Loading commit data...
services Loading commit data...
store Loading commit data...
templates Loading commit data...
test Loading commit data...
util Loading commit data...
vendor Loading commit data...
annotation-metadata.js Loading commit data...
build-thread.js Loading commit data...
cross-origin-rpc.js Loading commit data...
events.js Loading commit data...
ga.js Loading commit data...
get-api-url.js Loading commit data...
host-config.js Loading commit data...
index.js Loading commit data...
live-reload-client.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
raven.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-config.js Loading commit data...
tabs.js Loading commit data...
ui-constants.js Loading commit data...
virtual-thread-list.js Loading commit data...
websocket.js Loading commit data...