How mozilla/firefox works
Firefox is a desktop and mobile web browser. Its principal workflow is a user entering a search or address, Firefox coordinating browser UI and page activity, and the browser presenting web content; the README establishes the product, while the sampled files do not expose that full navigation/rendering path. The graph therefore shows documented product scope and sampled runtime branches for search, storage, and media. Unsampled domain links are marked dashed with no evidence path; source-index references support the explicit internal links shown.
Main entry points: base DOM and window APIs · browser.js Browser interface · StorageManager.cpp Storage API · UrlbarShared.mjs Address and search
Components 18
Browser experience
- Firefox application
browser/app/nsBrowserApp.cpp - Browser interface
browser/base/content/browser.js - Address and search
browser/components/urlbar/content/UrlbarShared.mjs - Search engine store
browser/components/urlbar/content/SearchEngineStore.mjs - Add search engine
browser/components/search/content/addEngine.js
Web platform
- DOM and window APIs
dom/base - Accessibility tree
accessible/base - Blob construction
dom/file/MutableBlobStorage.cpp
Web storage
- Storage API
dom/quota/StorageManager.cpp - Quota management
dom/quota/StorageManager.cpp - Local storage
dom/storage/LocalStorageManager.cpp - Local storage requests
dom/localstorage/LocalStorageManager2.cpp - Session storage
dom/storage/SessionStorageManager.cpp - Storage IPC
dom/storage/StorageIPC.h - Storage database thread
dom/storage/StorageDBThread.h
Media
- WebRTC audio capture
dom/media/webrtc/MediaEngineWebRTCAudio.cpp - External media playback
dom/media/ExternalEngineStateMachine.cpp
Other components
- Browser user
Connections 19
- Browser user → Firefox application: launches
- Firefox application → Browser interface: presents
- Browser user → Address and search: searches
- Address and search → Search engine store: loads engines
browser/components/urlbar/content/SearchEngineStore.mjs - Search engine store → Address and search: requests icons
browser/components/urlbar/content/SearchEngineStore.mjs - Browser interface → Add search engine: offers engine setup
- Browser interface → DOM and window APIs: hosts web content
- DOM and window APIs → Accessibility tree: exposes accessible content
- DOM and window APIs → Storage API: exposes storage
dom/quota/StorageManager.cpp - Storage API → Quota management: requests estimates
dom/quota/StorageManager.cpp - Storage API → DOM and window APIs: uses global object
dom/quota/StorageManager.cpp - Local storage → Storage database thread: uses database thread
dom/storage/LocalStorageManager.cpp - Local storage → Storage IPC: uses IPC
dom/storage/LocalStorageManager.cpp - Local storage requests → Storage IPC: constructs request actors
dom/localstorage/LocalStorageManager2.cpp - Session storage → Storage IPC: uses IPC
dom/storage/SessionStorageManager.cpp - Session storage → Storage database thread: uses database thread
- DOM and window APIs → WebRTC audio capture: provides window context
dom/media/webrtc/MediaEngineWebRTCAudio.cpp - DOM and window APIs → External media playback: supports playback
- Blob construction → DOM and window APIs: creates web blobs