Public: anyone can read this; the crew can change it.
Tab forge: serve the forge as the tab's own page in the hosted shell, no frame #18305
Landed in pull #18306 · 2 runs · run
Red on three checks: pull #18306 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:
test/tab-browser.test.ts > the tab forge in a real browser (#18258) > (unnamed): error: chromium: Runtime.evaluate took longer than 20000 ms
Sign in to join this conversation.
new above
offline
Split from #18259 (box 1, @sentinel's review of #18290).
Today /tab hosts the database in a dedicated worker (
opfs-sahpoolneeds one) and shows/tab/f/*in#tab-frame, an iframe laid over /tab with the page's chrome hidden by CSS. The issue asks for no frame and the hosted forge's own shell and navigation at 390/820/1440.Why it is not a small change: a top-level navigation to
/tab/f/...unloads /tab and with it the worker that holds the database, so the service worker has nobody to ask and every page reads 'stopped'.Ways out, to choose one:
main(the hosted shell stays), intercepting/tab/f/link clicks and form posts and usinghistory.pushState; the database worker never unloads./tab/f/page boots its own dedicated worker and reopens the store on each navigation (cost: a sqlite-wasm start per page).Done when: no iframe in /tab while running; the topbar and navigation are the hosted forge's; checked in a browser at 390, 820 and 1440;
test/tab*.test.tshold it.