WICG / fenced-frame

Proposal for a strong boundary between a page and its embedded content
https://wicg.github.io/fenced-frame/
Other
123 stars 31 forks source link

Add "on navigate callback" #89

Closed gtanzer closed 1 year ago

gtanzer commented 1 year ago

Preview | Diff

gtanzer commented 1 year ago

@domfarolino This is done modulo the type definition for "on navigate callback", which is a TODO for this PR (not for the future).

domfarolino commented 1 year ago

Got it, thanks. I think the type can just be something like "these steps, which take a foo and a bar" (with the steps defined below). Or if we ever need to set this asynchronously we can just make this super vague like https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-load-resumption-steps.

gtanzer commented 1 year ago

@domfarolino changed it to just say that the callback is "a series of steps".