Applies the host's manifest to doc. Answers which source it came from, 'failed' when either
source threw or the pull provider answered nothing usable (logged, nothing applied, no fallback —
the host said it supplies the manifest), or null when the host supplies none.
⚠️ It never rejects. Both call sites on open (editorapp.ts, viewer.ts) start it and do not
wait, so a rejection — a malformed pushed manifest, a font that fails to load — would surface as
an unhandled rejection in the host's page on every document open. Both sources are inside the
one try for that reason.
Applies the host's manifest to
doc. Answers which source it came from,'failed'when either source threw or the pull provider answered nothing usable (logged, nothing applied, no fallback — the host said it supplies the manifest), ornullwhen the host supplies none.⚠️ It never rejects. Both call sites on open (
editorapp.ts,viewer.ts) start it and do not wait, so a rejection — a malformed pushed manifest, a font that fails to load — would surface as an unhandled rejection in the host's page on every document open. Both sources are inside the onetryfor that reason.