we (web engine): Experimental web browser project to understand the limits of Claude
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add Phase 17: Navigation & Browser Chrome to development plan

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+17
+17
PLAN.md
··· 215 215 216 216 **Test milestone:** Interactive form on a real web page (e.g., search box submission). 217 217 218 + ## Phase 17: Navigation & Browser Chrome 219 + 220 + **Goal:** Enable page navigation via links, address bar, and browser chrome, with full history support. 221 + 222 + - Link click navigation: clicking `<a href="...">` navigates to the target URL (resolve relative URLs, initiate page load, replace document) 223 + - `window.location` Location object: `href`, `protocol`, `host`, `hostname`, `port`, `pathname`, `search`, `hash`, `origin`, `assign()`, `replace()`, `reload()` 224 + - Navigation history stack: ordered list of session history entries (URL, scroll position, state), back/forward traversal, current entry tracking 225 + - `window.history` History API: `pushState()`, `replaceState()`, `back()`, `forward()`, `go()`, `length`, `state`, `popstate` event 226 + - HTTP redirect following: 301, 302, 303, 307, 308 during navigation, redirect chain limit, method changes (303→GET, 307/308 preserve) 227 + - Fragment navigation: `#id` same-document scrolling, `hashchange` event, no page reload for fragment-only changes 228 + - Page lifecycle events: `DOMContentLoaded`, `load`, `beforeunload`, `unload` in correct order, `beforeunload` cancellation 229 + - Browser chrome UI: address bar (URL display + text input), back/forward/reload buttons, keyboard shortcuts (Cmd+L, Cmd+R, Cmd+[/]) 230 + - Error pages: DNS failure, connection refused, TLS errors, HTTP 4xx/5xx, network timeout — user-friendly display with reload option 231 + - Content-type routing: HTML → parser, plain text → monospace rendering, images → direct display, unsupported → download prompt 232 + 233 + **Test milestone:** Click a link on a real web page and navigate to the destination. Use back button to return. 234 + 218 235 --- 219 236 220 237 ## Test Suites