Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acc4ef2eed |
No files matched your search
@@ -1494,10 +1494,10 @@ wrote last, the record says which build's shape it is in.
|
|||||||
Each write reads the record, changes it and writes it back, holding a lock from
|
Each write reads the record, changes it and writes it back, holding a lock from
|
||||||
the read to the write: the browser's own (`navigator.locks`), taken through
|
the read to the write: the browser's own (`navigator.locks`), taken through
|
||||||
`withLock()` in `src/shared/browserApi.js`. Every page of the extension and its
|
`withLock()` in `src/shared/browserApi.js`. Every page of the extension and its
|
||||||
background share it, except a page in a Firefox private window, which has locks
|
background share it. Firefox gives a page in a private window locks of its own.
|
||||||
of its own. `manifest/firefox.json` sets `"incognito": "not_allowed"`, so such a
|
`manifest/firefox.json` sets `"incognito": "not_allowed"`, so such a page cannot
|
||||||
page cannot read or write extension storage. In Chrome, a page opened from an
|
read or write extension storage. In Chrome, a page opened from an incognito
|
||||||
incognito window still runs outside incognito and shares the lock. The popup's
|
window still runs outside incognito and shares the lock. The popup's
|
||||||
`saveState()`, the background's `updateState()` and the StateRecovery reset all
|
`saveState()`, the background's `updateState()` and the StateRecovery reset all
|
||||||
take it, so no write lands between another write's read and its write, where it
|
take it, so no write lands between another write's read and its write, where it
|
||||||
would be lost. Chrome has it from version 69, older than any Chrome that runs a
|
would be lost. Chrome has it from version 69, older than any Chrome that runs a
|
||||||
|
|||||||
+1
-2
@@ -208,8 +208,7 @@ password.
|
|||||||
3. Click "Load Temporary Add-on".
|
3. Click "Load Temporary Add-on".
|
||||||
4. Select `dist/firefox/manifest.json`.
|
4. Select `dist/firefox/manifest.json`.
|
||||||
|
|
||||||
AutistMask does not work in Firefox private windows. If Firefox is set to "Never
|
AutistMask does not work in Firefox private windows.
|
||||||
remember history", every window is private, so AutistMask does not work at all.
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user