Closed MSNev closed 1 year ago
Assigned to 2.8.11 so we can attempt to address in v2 which will them also get merged to v3 (beta)
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
@celluj34 has identified as part of issue #1995 that for a Shared worker the InstrumentFunc for the fetch is not working due to checks around
hasOwnProperty
failing forglobalThis.fetch
and the beta usage ofObject.getOwnPropertyDescriptor
also fails.We need to investigate and add an additional fallback from the
_getOwner()
or equivalent to use either an existence check and/orin
. We also need to validate that even with these checks that we can correctly hook the relevant function and/or prototype.This should be fixed in v2.x (if possible) and v3.x.