Skip to content

Examples

Tomer edited this page May 20, 2023 · 10 revisions

Here are some examples of traffic you can see while performing different operations in the browser.

The renderer calls the browser's QueryNextStatus to get the current battery charging level and gets back the response.

The process is also further shown in Google's video.

Creating new tab

Mojo's Invitations mechanism in action, setting up the mojo channel in the new process.

Playing DRM-protected media (e.g Spotify, Netflix, ...)

The renderer sends encrypted audio to the Content Decryption Module (CDM) process, gets back decrypted audio, and then sends it to the Audio Service for playback.

The audio itself is passed over a mojo data pipe (shared memory).

Legacy IPC

Some components in Chrome still use the old IPC, such as Extensions and GPU process.

IPCZ

Starting from major 112, Chrome uses the ipcz library by default instead of Mojo Core.

This protocol contains a bunch of new messages, and most of the method calls will actually be in shared memory.

ipcz_screenshot_2