Open Issues Need Help
View All on GitHub there are problems while multiple browser extension use new XMLHttpRequestInterceptor() about 2 hours ago
AI Summary: The issue describes a conflict when multiple browser extensions simultaneously use `XMLHttpRequestInterceptor`, leading to nested proxies because each extension's execution context creates a unique `Symbol('isPatchedModule')`. This prevents the library's `IS_PATCHED_MODULE` check from correctly detecting existing patches. The user proposes using `Symbol.for('isPatchedModule')` to create a global symbol, or seeks alternative solutions for handling multiple interceptors across different execution contexts.
Complexity:
3/5
good first issue
Low-level network interception library.
TypeScript
#fetch#http#https#intercept#interceptor#mock#node#nodejs#request#request-interception#xhr