deep-roots learning program · module 16
Module 16 — Browser engine internals
Every chapter: first principles, What insiders know, a See it yourself lab, connections, and a quiz with worked answers.
01
The browser as an operating system
Process-per-site, the broker sandbox, Mojo — why 40 tabs are 40 processes.
→
02
The DOM as a heap graph: Oilpan and two collectors
Nodes, wrappers, tracing — the classic detached-node leak derived.
→
03
The rendering pipeline as memory traffic
Style → layout → paint → composite, the 16.6 ms budget, layout thrashing.
→
04
The page's memory: leaks, workers, WASM
The three heaps, the leak taxonomy, guard-page WASM — DevTools as profiler.
→
05
The browser as a security boundary
SOP, site isolation, Spectre in the renderer, the two-bug escape rule.
→
the exam