Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e066bce711 |
No files matched your search
@@ -769,8 +769,8 @@ Three limits are worth knowing, all real differences from the Chrome suite:
|
|||||||
The suite leaves "Use Blockscout" off, so Blockscout is not asked. A
|
The suite leaves "Use Blockscout" off, so Blockscout is not asked. A
|
||||||
`ReferenceError` in the success path of `renderTransactions`, or of price
|
`ReferenceError` in the success path of `renderTransactions`, or of price
|
||||||
rendering, passes this suite green. The offline run is also weaker than the
|
rendering, passes this suite green. The offline run is also weaker than the
|
||||||
Chrome suite's interception: it proves nothing got out, but it cannot report
|
Chrome suite's interception for those calls: it proves nothing got out, but it
|
||||||
which requests were attempted.
|
cannot report which requests were attempted.
|
||||||
- **The site-connection prompt always opens in a window of its own.** The
|
- **The site-connection prompt always opens in a window of its own.** The
|
||||||
profile turns off `extensions.openPopupWithoutUserGesture.enabled`, so
|
profile turns off `extensions.openPopupWithoutUserGesture.enabled`, so
|
||||||
`src/background/index.js` falls back from the toolbar popup, which WebDriver
|
`src/background/index.js` falls back from the toolbar popup, which WebDriver
|
||||||
|
|||||||
@@ -11,10 +11,9 @@
|
|||||||
const { storageGet } = require("./browserApi");
|
const { storageGet } = require("./browserApi");
|
||||||
const { normalizePersisted } = require("./persistedState");
|
const { normalizePersisted } = require("./persistedState");
|
||||||
|
|
||||||
// Whether the setting `name` is on in the stored profile. `name` is
|
// Whether `name`, "useBlockscout" or "checkRecipientsOnEtherscan", is on in the
|
||||||
// "useBlockscout" or "checkRecipientsOnEtherscan". The profile is read through
|
// stored profile. The profile is read through normalizePersisted(), as a load
|
||||||
// normalizePersisted(), as a load reads it, so only a stored true is on. A
|
// reads it, so only a stored true is on. A failed read counts as off.
|
||||||
// failed read counts as off.
|
|
||||||
async function storedSettingIsOn(name) {
|
async function storedSettingIsOn(name) {
|
||||||
try {
|
try {
|
||||||
const { autistmask } = await storageGet("autistmask");
|
const { autistmask } = await storageGet("autistmask");
|
||||||
|
|||||||
Reference in new issue
Block a user