Skip to content

Commit 6fe39a3

Browse files
committed
fix(test): 🩹 Bad Merge
Signed-off-by: Nishant Arora <1895906+whizzzkid@users.noreply.github.com>
1 parent bb85dbb commit 6fe39a3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

add-on/src/lib/ipfs-request.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export function createRequestModifier (getState, dnslinkResolver, ipfsPathValida
485485
* @param {object} input contains originUrl and redirectUrl.
486486
* @returns
487487
*/
488-
async function handleRedirection ({ originUrl, redirectUrl }) {
488+
async function handleRedirection ({ originUrl, redirectUrl, request }) {
489489
if (redirectUrl !== '' && originUrl !== '' && redirectUrl !== originUrl) {
490490
resolvedRequestTracker.track(request)
491491
if (supportsBlock()) {

add-on/src/lib/redirect-handler/blockOrObserve.ts

-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ interface messageToSelf {
3737
// rather it gets replaced dynamically when the module is imported. Which means, we can't
3838
// just check for the existence of the property, we need to call the browser instance at that point.
3939
export const supportsBlock = (): boolean => !(browser.declarativeNetRequest?.MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES === 5000)
40-
export const GLOBAL_STATE_CHANGE = 'GLOBAL_STATE_CHANGE'
41-
export const GLOBAL_STATE_OPTION_CHANGE = 'GLOBAL_STATE_OPTION_CHANGE'
4240

4341
/**
4442
* Notify self about state change.

0 commit comments

Comments
 (0)