We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e56bb6a commit 6bd8c3cCopy full SHA for 6bd8c3c
add-on/src/lib/redirect-handler/blockOrObserve.ts
@@ -36,7 +36,7 @@ interface messageToSelf {
36
// the way sinon ends up stubbing it, it's not directly available in the global scope on import
37
// rather it gets replaced dynamically when the module is imported. Which means, we can't
38
// just check for the existence of the property, we need to call the browser instance at that point.
39
-export const supportsBlock = (): boolean => !(browser.declarativeNetRequest?.MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES === 5000)
+export const supportsBlock = (): boolean => !(browser.declarativeNetRequest?.MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES > 0)
40
41
/**
42
* Notify self about state change.
0 commit comments