S053: docs describe the WebKit engine
This commit is contained in:
parent
36644310c7
commit
efe381575d
1 changed files with 150 additions and 240 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Privacy mode (S024, R1-16)
|
||||
|
||||
> Written for the Servo engine (removed in S053). The *How it works* table is updated for WebKit; the *Surfaces* tables and
|
||||
> numbers below are historical (Servo 0.7) until privacy mode is re-measured on WebKit.
|
||||
|
||||
Privacy mode hides what makes Nacre stand out, so sites can't recognise the browser without cookies. It is on
|
||||
when Settings → Privacy → Privacy mode is on, and in incognito windows unless "Always on in incognito windows" is
|
||||
off. It can be paused per site from the shield menu (`privacy.mode_off`). Changes apply from each page's next load.
|
||||
|
|
@ -8,8 +11,8 @@ off. It can be paused per site from the shield menu (`privacy.mode_off`). Change
|
|||
|
||||
| Layer | Where | What |
|
||||
|---|---|---|
|
||||
| Page script | `inject.rs` `PRIVACY_JS` (`privacy_script`) | runs at document start in every document Servo parses (frames too), and reaches same-origin frames made by script through `contentWindow` / `contentDocument` |
|
||||
| Network | `vendor/servo-net/nacre.rs` | third-party cookies blocked (S023), Accept-Language as Firefox's list (`set_language_list`) |
|
||||
| Page script | `inject.rs` `PRIVACY_JS` (`privacy_script`) | runs at document start in every document the engine parses (frames too), and reaches same-origin frames made by script through `contentWindow` / `contentDocument` |
|
||||
| Network | web process extension (`webext/`) and WebKit's cookie policy | third-party cookies blocked, Accept-Language as Firefox's list (`Engine::set_languages`) |
|
||||
| Frame cookies | `inject.rs` `FRAME_COOKIE_JS` | `document.cookie` empty and not stored in a frame whose top page is another site (on whenever third-party cookies are blocked) |
|
||||
|
||||
Noise is seeded by a random value per run (`Shared::seed`) plus the top-level site (last two host labels; a
|
||||
|
|
|
|||
Loading…
Reference in a new issue