~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

A site's ask never settles outside the host's page, or without its shell

Open
Open chadtmiller.com opened this issue 0 comments

What happened

A page that loads /_os/kit.js outside the host's page around a site (parent === window), or on a host with no SITE_SHELL_DIR build (where /_os/shell.js is 404), waits forever on every os ask: nothing answers, and no ask has a timeout. Found reading the code for the site kit's docs; not seen in a browser.

How to see it

Open a live site's page at /_site/index.html in its own tab, or serve a live site from a host built without the shell, and call os.me() from the console: the promise never settles.

What you expected

Refused at once, so a page can say why.

Where

A local host, branch site/reports at e62dd33: crates/group-host/src/site_kit.js:16,32; web/shell/shell.ts:313; crates/group-host/src/sites.rs:536-540.